mus_setupIndices_forBC Subroutine

private subroutine mus_setupIndices_forBC(bc, globBC, tree, stencil, levelDesc, varSys, minLevel, maxLevel)

This routine setup indices for boundary variables in bc_State_type pntIndex for the points on which boundaries are treated.

Arguments

TypeIntentOptionalAttributesName
type(boundary_type), intent(inout), target:: bc

Field boundary type

type(glob_boundary_type), intent(in) :: globBC

for number of elements in boundary and position in buffer

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

global treelm mesh

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

for directions

type(tem_levelDesc_type), intent(in) :: levelDesc(minLevel:maxLevel)

global pdf type

type(tem_varSys_type), intent(in) :: varSys

Global variable system

integer, intent(in) :: minLevel

Min and Max level in mesh

integer, intent(in) :: maxLevel

Min and Max level in mesh


Calls

proc~~mus_setupindices_forbc~~CallsGraph proc~mus_setupindices_forbc mus_setupIndices_forBC interface~init init proc~mus_setupindices_forbc->interface~init interface~append append proc~mus_setupindices_forbc->interface~append proc~mus_get_points_frombc mus_get_points_fromBC proc~mus_setupindices_forbc->proc~mus_get_points_frombc proc~tem_abort tem_abort proc~mus_setupindices_forbc->proc~tem_abort proc~tem_elemsizelevel tem_ElemSizeLevel proc~mus_get_points_frombc->proc~tem_elemsizelevel proc~tem_baryofid tem_BaryOfId proc~mus_get_points_frombc->proc~tem_baryofid

Called by

proc~~mus_setupindices_forbc~~CalledByGraph proc~mus_setupindices_forbc mus_setupIndices_forBC proc~init_boundary_single init_boundary_single proc~init_boundary_single->proc~mus_setupindices_forbc proc~mus_init_boundary mus_init_boundary proc~mus_init_boundary->proc~init_boundary_single proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_boundary proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_boundary program~musubi musubi program~musubi->proc~mus_initialize proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_reset_aux

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nPoints

Number of points

real(kind=rk), private, allocatable:: points(:,:)

3-d real coordinates on which boundary variables are evaluated

character, private, allocatable:: offset_bit(:)

Offset bit encodes direction of boundary. used by apesmate to translate space coordinate in the offset direction to determine the treeID in remote domain

integer, private, allocatable:: idx(:)
integer, private :: iLevel
integer, private :: iVar
character(len=labelLen), private :: bc_varName
type(tem_bc_state_type), private, pointer:: bc_state=> NULL()
character(len=pathLen), private :: isSurface