tem_build_treeHorizontalDep Subroutine

private subroutine tem_build_treeHorizontalDep(iStencil, levelDesc, computeStencil, list, nElems, tree)

Update the neighor arrays depending on what is given in the element stencil

The array levelDesc( iLevel )%neigh( iStenci )%nghElems( 1:QQN, 1:nElems ) is being filled up here

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: iStencil

Index of your neighbor list.

type(tem_levelDesc_type), intent(inout) :: levelDesc

Level descriptor for each level of your mesh (starting from min level).

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

The stencil you build the horizontal dependencies for.

integer, intent(in) :: list(:)

stencil elemLvl points to sorted original treeID list

integer, intent(in) :: nElems

number of elements

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

tree information


Calls

proc~~tem_build_treehorizontaldep~~CallsGraph proc~tem_build_treehorizontaldep tem_build_treeHorizontalDep interface~positionofval~4 positionofval proc~tem_build_treehorizontaldep->interface~positionofval~4 proc~tem_treeidintotal tem_treeIDinTotal proc~tem_build_treehorizontaldep->proc~tem_treeidintotal proc~tem_baryofid tem_BaryOfId proc~tem_build_treehorizontaldep->proc~tem_baryofid proc~tem_stencil_getheaderpos tem_stencil_getHeaderPos proc~tem_build_treehorizontaldep->proc~tem_stencil_getheaderpos proc~posofval_label posofval_label interface~positionofval~4->proc~posofval_label tem_positioninsorted tem_positioninsorted proc~tem_treeidintotal->tem_positioninsorted proc~tem_etypeofid tem_eTypeOfId proc~tem_treeidintotal->proc~tem_etypeofid proc~tem_elemsizelevel tem_ElemSizeLevel proc~tem_baryofid->proc~tem_elemsizelevel proc~tem_coordofid tem_CoordOfId proc~tem_baryofid->proc~tem_coordofid proc~tem_etypeofid->interface~positionofval~4 proc~tem_levelof tem_LevelOf proc~tem_coordofid->proc~tem_levelof interface~sortedposofval~4 sortedposofval proc~posofval_label->interface~sortedposofval~4 proc~sortposofval_label sortposofval_label interface~sortedposofval~4->proc~sortposofval_label

Called by

proc~~tem_build_treehorizontaldep~~CalledByGraph proc~tem_build_treehorizontaldep tem_build_treeHorizontalDep proc~tem_build_horizontaldependencies tem_build_horizontalDependencies proc~tem_build_horizontaldependencies->proc~tem_build_treehorizontaldep proc~tem_create_leveldesc tem_create_levelDesc proc~tem_create_leveldesc->proc~tem_build_horizontaldependencies 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 :: iElem
integer, private :: iStencilElem
integer, private :: elemPos
integer, private :: stencilPos
integer, private :: levelPos
integer, private :: totalPos
integer(kind=long_k), private :: tID
logical, private :: missingNeigh
real(kind=rk), private :: bary(3)