tem_element_type Derived Type

type, public :: tem_element_type


Components

Type Visibility Attributes Name Initial
type(dyn_longarray_type), public :: tID

Tree ID

type(grw_longarray_type), public :: property

Property

type(grw_intarray_type), public :: eType

element type: fluid, ghostFromCoarser, ghostFromFiner, halo

type(grw_intarray_type), public :: pntTID

Pointer to the original treeID list It should have the same size of tree It is destroyed in assemble_lists

type(grw_grw_stencilelementarray_type), public :: stencil

Stencils defined for this element

type(grw_dynlongarray_type), public :: neighID

neighbor treeIDs coming from the stencil definitions each element has a list of neighbors, so this is an array of array

type(grw_intarray_type), public :: sourceProc

source partition (starts at 1)

type(grw_intarray_type), public :: haloNesting

nesting (only relevant for halos, to include their neighborhood)

type(grw_logicalarray_type), public :: needsUpdate

does this element need an update

integer, public :: nElems(eT_minNumber:eT_maxNumber)

number of various types elements


Source Code

  type tem_element_type
    !> Tree ID
    type(dyn_longArray_type)                :: tID
    !> Property
    type(grw_longArray_type)                :: property
    !> element type:
    !!   fluid,
    !!   ghostFromCoarser,
    !!   ghostFromFiner,
    !!   halo
    type(grw_intArray_type)                 :: eType
    !> Pointer to the original treeID list
    !! It should have the same size of tree
    !! It is destroyed in assemble_lists
    type(grw_intArray_type)                 :: pntTID
    !> Stencils defined for this element
    type(grw_grw_stencilElementArray_type ) :: stencil
    !> neighbor treeIDs coming from the stencil definitions
    !! each element has a list of neighbors, so this is an array of array
    type(grw_dynlongArray_type )            :: neighID
    !> source partition (starts at 1)
    type(grw_intArray_type)                 :: sourceProc
    !> nesting (only relevant for halos, to include their neighborhood)
    type(grw_intArray_type)                 :: haloNesting
    !> does this element need an update
    type(grw_logicalArray_type)             :: needsUpdate

    !> number of various types elements
    integer :: nElems( eT_minNumber:eT_maxNumber )

  end type tem_element_type