mus_IBMFinishBuff Subroutine

private subroutine mus_IBMFinishBuff(me, IBMData, levelDesc, commPattern, globTree, iLevel, comm, stencil)

This routine finishes the buffers for Xk and X_pdf. This is moved to a seperate routine since both buffers depend on a local communication which should be done nearby the global synchronization point (mus_exchange)

Arguments

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

datatype to store the surface information

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

tmp IBMData type to be filled

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

the level descriptor incl. the global send and receive buffers

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

communication pattern to be used

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

global tree information

integer, intent(inout) :: iLevel

current level

integer, intent(in) :: comm

MPI communicator

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

array of stencils (1 is the fluid stencil)


Calls

proc~~mus_ibmfinishbuff~~CallsGraph proc~mus_ibmfinishbuff mus_IBMFinishBuff proc~tem_treeidintotal tem_treeIDinTotal proc~mus_ibmfinishbuff->proc~tem_treeidintotal proc~tem_starttimer tem_startTimer proc~mus_ibmfinishbuff->proc~tem_starttimer interface~empty empty proc~mus_ibmfinishbuff->interface~empty proc~tem_stoptimer tem_stopTimer proc~mus_ibmfinishbuff->proc~tem_stoptimer interface~append~3 append proc~mus_ibmfinishbuff->interface~append~3 proc~tem_updatetree_properties tem_updateTree_properties proc~mus_ibmfinishbuff->proc~tem_updatetree_properties interface~destroy destroy proc~mus_ibmfinishbuff->interface~destroy interface~init~3 init proc~mus_ibmfinishbuff->interface~init~3 proc~tem_init_surfdata tem_init_surfData proc~mus_ibmfinishbuff->proc~tem_init_surfdata

Called by

proc~~mus_ibmfinishbuff~~CalledByGraph proc~mus_ibmfinishbuff mus_IBMFinishBuff proc~mus_inamuro_ibm mus_inamuro_IBM proc~mus_inamuro_ibm->proc~mus_ibmfinishbuff proc~do_fast_singlelevel do_fast_singleLevel proc~do_fast_singlelevel->proc~mus_inamuro_ibm

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iProc
integer, private :: iElem
integer, private :: iCoord
integer, private :: pos
integer, private :: nElemPos
integer, private, allocatable:: posXk_recv(:)
integer, private, allocatable:: posXk_send(:)
integer(kind=long_k), private, allocatable:: treeIDs_recv(:)
integer(kind=long_k), private, allocatable:: treeIDs_send(:)