mus_fillNeigh_surfData Subroutine

private subroutine mus_fillNeigh_surfData(me, IBMData, stencil, levelDesc, globTree, parentIDs, commPattern, params)

This routine builds the neighbor lists for Xk -> x (neigh_Xk) and x->Xk (neigh_x) as well as the send and receive buffers for the eulerian elements.

Arguments

TypeIntentOptionalAttributesName
type(mus_IBM_type), intent(inout) :: me

IBM data including the surface data

type(mus_IBM_tmpData_type), intent(inout) :: IBMData

tmp IBMData type to be filled

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

array of stencils (1 is the fluid stencil)

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

the level descriptor incl. ghost and halo elements on the level iLevel

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

global tree information

integer, intent(in) :: parentIDs(:)

array of parentID positions hosting the lagrangian points

type(tem_commPattern_type), intent(inout) :: commPattern

communication pattern to be used

type(mus_param_type), intent(inout) :: params

global parameters


Calls

proc~~mus_fillneigh_surfdata~~CallsGraph proc~mus_fillneigh_surfdata mus_fillNeigh_surfData proc~tem_stoptimer tem_stopTimer proc~mus_fillneigh_surfdata->proc~tem_stoptimer proc~mus_ibm_fillsendpos_x mus_IBM_fillSendPos_X proc~mus_fillneigh_surfdata->proc~mus_ibm_fillsendpos_x proc~tem_idofcoord tem_IdOfCoord proc~mus_fillneigh_surfdata->proc~tem_idofcoord proc~tem_starttimer tem_startTimer proc~mus_fillneigh_surfdata->proc~tem_starttimer proc~mus_ibm_fillrecvpos_x mus_IBM_fillRecvPos_X proc~mus_fillneigh_surfdata->proc~mus_ibm_fillrecvpos_x proc~tem_coordofid tem_CoordOfId proc~mus_fillneigh_surfdata->proc~tem_coordofid interface~append~4 append proc~mus_fillneigh_surfdata->interface~append~4 proc~tem_treeidintotal tem_treeIDinTotal proc~mus_fillneigh_surfdata->proc~tem_treeidintotal proc~mus_ibm_fillsendpos_x->interface~append~4 proc~tem_treeidcomparison tem_TreeIDComparison proc~mus_ibm_fillsendpos_x->proc~tem_treeidcomparison proc~mus_ibm_fillrecvpos_x->interface~append~4

Called by

proc~~mus_fillneigh_surfdata~~CalledByGraph proc~mus_fillneigh_surfdata mus_fillNeigh_surfData proc~mus_buildbuffibm mus_buildBuffIBM proc~mus_buildbuffibm->proc~mus_fillneigh_surfdata proc~do_fast_singlelevel do_fast_singleLevel proc~do_fast_singlelevel->proc~mus_buildbuffibm

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: treeIDPos
integer, private :: parCoord(4)
integer, private :: neighCoord(4)
integer(kind=long_k), private :: neighID
integer, private :: iPoint
integer, private :: iQQ
integer, private :: iType
integer, private :: iProc
integer, private :: iVal
integer, private :: send_pos
integer, private :: recv_pos
integer, private :: neighPos
logical, private :: wasAdded
logical, private, allocatable:: toComm(:,:)
logical, private :: match
integer, private :: firstHaloPos
logical, private, allocatable:: parentUsed(:)
integer, private :: nProcs_send
integer, private, allocatable:: adjProcs_send(:)
integer, private :: nProcs_recv
integer, private, allocatable:: adjProcs_recv(:)
integer, private, allocatable:: nElems_recv(:)
logical, private, allocatable:: procPart(:)