tem_global_type Derived Type

type, public :: tem_global_type

A datatype describing the global mesh information, present in all partitions (on all processes).

It includes the mesh name, the origin and extent of the universe, meaning the bounding cube, inside which the tree mesh was created. Further, the lowest and highest refinement levels are stored as well as the number of different properties, assigned to elements in the mesh. The properties are linked to in-detail descriptive data types themselves.


Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: BoundingCubeLength

Length of the outermost bounding cube

real(kind=rk), public :: Origin(3)

Origin of the cube, extent of length in each direction from this point.

real(kind=rk), public :: effOrigin(3) = 0._rk

Origin of the cube which is effectively covered by tree elements

real(kind=rk), public :: effLength(3) = 0._rk

Length of the hexahedral domain which is effectively covered by tree elements

character(len=labelLen), public :: predefined = ''

name of the predefined mesh generated on the fly

integer(kind=long_k), public :: nElems

total number of elements

integer, public :: nParts

Number of parts, the mesh is partitioned into !< process%comm_size

integer, public :: myPart

The part to be processed locally (0:nParts-1) !< process%rank

integer, public :: comm

MPI communicator of the processes, the mesh is distributed on

integer, public :: minLevel

Minimal element level present in the mesh

integer, public :: maxLevel

Maximal element level present in the mesh

character(len=LabelLen), public :: label

Name of the mesh

character(len=LabelLen), public :: comment

Space for comments

integer, public :: nProperties

Total number of properties present in the mesh properties: fluid, solid, has boundaries, has elements, is deformed

real(kind=rk), public :: effboundingCube(3,2)

The information of real bounding cube which is read from the mesh header

type(tem_prophead_type), public, pointer :: Property(:) => null()

declarations for each property (The bit position of the flag for the property, the total number of elements with it, and label for its declaration). For a detailed description see \ref tem_property_module

character(len=pathlen), public :: dirname

Name of the directory, where the data for the mesh is read from. Has to have a trailing directory separator.

logical, public :: meshChange = .false.

did the mesh changed since last time dumping it??