tem_element_type Derived Type

type, public :: tem_element_type


Inherits

type~~tem_element_type~~InheritsGraph type~tem_element_type tem_element_type type~dyn_longarray_type dyn_longarray_type type~tem_element_type->type~dyn_longarray_type tID type~grw_grw_stencilelementarray_type grw_grw_stencilelementarray_type type~tem_element_type->type~grw_grw_stencilelementarray_type stencil type~grw_intarray_type grw_intarray_type type~tem_element_type->type~grw_intarray_type eType, pntTID, sourceProc, haloNesting type~grw_logicalarray_type grw_logicalarray_type type~tem_element_type->type~grw_logicalarray_type needsUpdate type~grw_dynlongarray_type grw_dynlongarray_type type~tem_element_type->type~grw_dynlongarray_type neighID type~grw_longarray_type grw_longarray_type type~tem_element_type->type~grw_longarray_type property type~grw_stencilelementarray_type grw_stencilelementarray_type type~grw_grw_stencilelementarray_type->type~grw_stencilelementarray_type val type~grw_dynlongarray_type->type~dyn_longarray_type val type~tem_stencilelement_type tem_stencilElement_type type~grw_stencilelementarray_type->type~tem_stencilelement_type val

Inherited by

type~~tem_element_type~~InheritedByGraph type~tem_element_type tem_element_type type~tem_leveldesc_type tem_levelDesc_type type~tem_leveldesc_type->type~tem_element_type elem type~tem_face_type tem_face_type type~tem_face_type->type~tem_leveldesc_type dimByDimDesc

Contents

Source Code


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