build_levelElements Subroutine

private subroutine build_levelElements(levelDesc, tree, proc, stencil, pathFirst, pathLast)

Assemble the fluid list and identify neighbor relations start with building up the ghost and halo element collection as well

Arguments

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

the level descriptor to be filled

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

the global tree

type(tem_comm_env_type), intent(in) :: proc

Process description to use.

type(tem_stencilHeader_type) :: stencil

array of all stencils used in the simulation

type(tem_path_type), intent(in) :: pathFirst(:)

first and last treeID path in every process

type(tem_path_type), intent(in) :: pathLast(:)

first and last treeID path in every process


Calls

proc~~build_levelelements~~CallsGraph proc~build_levelelements build_levelElements proc~identify_elements identify_elements proc~build_levelelements->proc~identify_elements interface~tem_logging_isactive tem_logging_isActive proc~build_levelelements->interface~tem_logging_isactive proc~tem_horizontalspacer tem_horizontalSpacer proc~build_levelelements->proc~tem_horizontalspacer proc~identify_additionalneigh identify_additionalNeigh proc~build_levelelements->proc~identify_additionalneigh proc~tem_elemlist_dump tem_elemList_dump proc~build_levelelements->proc~tem_elemlist_dump proc~identify_elements->proc~identify_elements proc~create_allparentneighbors create_allParentNeighbors proc~identify_elements->proc~create_allparentneighbors proc~identify_stencilneigh identify_stencilNeigh proc~identify_elements->proc~identify_stencilneigh proc~single_process_element single_process_element proc~identify_elements->proc~single_process_element proc~tem_directchildren tem_directChildren proc~identify_elements->proc~tem_directchildren interface~append~4 append proc~identify_elements->interface~append~4 proc~tem_find_depproc tem_find_depProc proc~identify_elements->proc~tem_find_depproc proc~tem_pathof tem_PathOf proc~identify_elements->proc~tem_pathof proc~tem_levelof tem_LevelOf proc~identify_elements->proc~tem_levelof interface~init~15 init proc~identify_elements->interface~init~15 proc~tem_tidinfo tem_tIDinfo proc~identify_elements->proc~tem_tidinfo proc~tem_logging_isactive_primary tem_logging_isActive_primary interface~tem_logging_isactive->proc~tem_logging_isactive_primary proc~tem_logging_isactive_for tem_logging_isActive_for interface~tem_logging_isactive->proc~tem_logging_isactive_for proc~identify_additionalneigh->proc~identify_elements proc~identify_additionalneigh->proc~tem_horizontalspacer interface~positionofval~4 positionofval proc~identify_additionalneigh->interface~positionofval~4 proc~tem_element_dump tem_element_dump proc~tem_elemlist_dump->proc~tem_element_dump

Called by

proc~~build_levelelements~~CalledByGraph proc~build_levelelements build_levelElements proc~tem_find_allelements tem_find_allElements proc~tem_find_allelements->proc~build_levelelements 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(kind=long_k), private :: neighID
integer, private :: elemPos
integer, private :: minLevel
integer, private :: maxLevel
integer, private :: iElem
integer, private :: iNeighElem
integer, private :: iLevel
integer, private :: iStencil
integer, private :: neighPos