Declaration of the element property header data, which is globally defined for all processes.
Each property is described by a label, the bit position it is encoded in
in the elempropertybits
of the mesh and the total number of elements with
this property found in the mesh.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=64), | private | :: | label | A label to describe this property |
|||
integer, | private | :: | bitpos | The position of the bit, which flags the presence of this property for an element. |
|||
integer(kind=long_k), | private | :: | nElems | Total number of elements with this property |
Load the property header from the mesh file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_prophead_type), | intent(out) | :: | me(:) | Property to load |
||
integer, | intent(in) | :: | myPart | The process within comm, calling the routine |
||
integer, | intent(in) | :: | comm | MPI Communicator within which the mesh is loaded. |
||
type(flu_State) | :: | conf | Lua state containing the mesh description. |
|||
integer, | intent(in), | optional | :: | root | The root process doing the IO, defaults to 0. |
Subroutine to dump property header informations into a Lua file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_prophead_type), | intent(in) | :: | me(:) | Property to write |
||
type(aot_out_type) | :: | conf | aotus lua state to write output |
Subroutine to (re-)count the global number of elements the property.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_prophead_type), | intent(inout) | :: | me | Property to count and set the number of elements for. |
||
integer(kind=long_k), | intent(in) | :: | elempropertybits(:) | Propertybits of all elements. |
||
integer, | intent(in) | :: | comm | MPI communicator within which the mesh is distributed. |