tem_subTree_type Derived Type

type, public :: tem_subTree_type

Datatype for sub trees incl. local and global information as well as an array of pointers to the global list of treeIDs


Components

Type Visibility Attributes Name Initial
type(tem_global_type), public :: global

This entry provides some global informations on the mesh, which is needed across all partitions.

integer, public :: nElems

Total number of elements on this partition

integer, public :: nPoints

Total number of points on this partition

integer(kind=long_k), public :: glob_nPoints

Total number of points on this subTree

real(kind=rk), public, allocatable :: points(:,:)

(n, 3) array to store coordinate points for tracking

logical, public :: useGlobalMesh = .False.

does the subTree correspond with the corresponding one (valid for shape='all')

integer, public, allocatable :: map2global(:)

Position of the treeID in the corresponding tree on the partition only set for useGlobalMesh == False and useLocalShape == False

logical, public :: useLocalMesh = .False.

Does the subTree correspond local partition?

logical, public :: created_new_comm = .false.

Flag to indicate, whether a new communicator was created for this subtree.

integer(kind=long_k), public, allocatable :: treeID(:)

Actual array of treeIDs in the subTree. This is only defined for useGlobalMesh = .False. and logical :: useLocalMesh = .True. set for useGlobalMesh == False and useLocalShape == False

integer, public, allocatable :: bc_ID(:)

array of bc_ids of boundary labels defined in tracking%shape boundary

integer(kind=long_k), public :: elemOffset

Offset of this partition

integer(kind=long_k), public, allocatable :: ElemPropertyBits(:)

Bit field of element properties for each element (the array has a length of nElems), each bit in the 8 byte integer indicates the presence or absence of a given property, which are further described in the Property component.

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

declaration of additional elemental properties, the array has a length of global%nProperties, each property provides a list of local element indices of elements with this property.