update_elemPosToTotalPos Subroutine

private subroutine update_elemPosToTotalPos(levelDesc, levelPointer, tree, computeStencil)

Update the found dependencies, which were built for non-ordered lists Out of fluid, ghost and halo lists, the totalList is constructed in an ordered fashion. The element order as in the TotalList is later passed on to the solver.

Arguments

TypeIntentOptionalAttributesName
type(tem_levelDesc_type), intent(inout) :: levelDesc(tree%global%minlevel:)

the level descriptor to be filled

integer, intent(in) :: levelPointer(:)

Pointer from original treeID list to level wise fluid list

type(treelmesh_type), intent(in) :: tree

the global tree

type(tem_stencilHeader_type), intent(inout) :: computeStencil(:)

array of all stencils used in the simulation


Calls

proc~~update_elempostototalpos~~CallsGraph proc~update_elempostototalpos update_elemPosToTotalPos proc~update_buffer_elempos update_buffer_elemPos proc~update_elempostototalpos->proc~update_buffer_elempos proc~tem_treeidintotal tem_treeIDinTotal proc~update_elempostototalpos->proc~tem_treeidintotal proc~update_buffer_elempos->proc~tem_treeidintotal proc~tem_etypeofid tem_eTypeOfId proc~tem_treeidintotal->proc~tem_etypeofid tem_positioninsorted tem_positioninsorted proc~tem_treeidintotal->tem_positioninsorted interface~positionofval~4 positionofval proc~tem_etypeofid->interface~positionofval~4 proc~posofval_label posofval_label interface~positionofval~4->proc~posofval_label

Called by

proc~~update_elempostototalpos~~CalledByGraph proc~update_elempostototalpos update_elemPosToTotalPos proc~tem_find_allelements tem_find_allElements proc~tem_find_allelements->proc~update_elempostototalpos proc~tem_create_leveldesc tem_create_levelDesc proc~tem_create_leveldesc->proc~tem_find_allelements proc~tem_dimbydim_construction tem_dimByDim_construction proc~tem_dimbydim_construction->proc~tem_create_leveldesc proc~tem_build_face_info tem_build_face_info proc~tem_build_face_info->proc~tem_dimbydim_construction

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iLevel
integer, private :: iElem
integer, private :: iStencil
integer, private :: iStencilElem
integer, private :: pos
integer, private :: nUpdates
integer, private :: iError
integer(kind=long_k), private :: nTreeID
logical, private :: needUpdate