mus_IBM_commNewPos Subroutine

private subroutine mus_IBM_commNewPos(IBMData, levelDesc, commPattern, globTree, surfData, iLevel, comm)

This subroutine communicates all elements which just moved from the fluids to the halo elements.

Arguments

TypeIntentOptionalAttributesName
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

type(tem_surfData_type), intent(inout) :: surfData

the surface data incl. the coordinates for the Xk

integer, intent(in) :: iLevel

current level

integer, intent(in) :: comm

process description to use


Calls

proc~~mus_ibm_commnewpos~~CallsGraph proc~mus_ibm_commnewpos mus_IBM_commNewPos proc~tem_init_surfdata tem_init_surfData proc~mus_ibm_commnewpos->proc~tem_init_surfdata interface~append~4 append proc~mus_ibm_commnewpos->interface~append~4 interface~empty empty proc~mus_ibm_commnewpos->interface~empty interface~init~3 init proc~mus_ibm_commnewpos->interface~init~3

Called by

proc~~mus_ibm_commnewpos~~CalledByGraph proc~mus_ibm_commnewpos mus_IBM_commNewPos proc~mus_ibm_buildsendrecv_xk mus_IBM_buildSendRecv_Xk proc~mus_ibm_buildsendrecv_xk->proc~mus_ibm_commnewpos proc~mus_buildbuffibm mus_buildBuffIBM proc~mus_buildbuffibm->proc~mus_ibm_buildsendrecv_xk proc~do_fast_singlelevel do_fast_singleLevel proc~do_fast_singlelevel->proc~mus_buildbuffibm

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iProc
integer, private :: iElem
integer, private :: iVal
integer, private :: iCoord
integer, private :: iPoint
integer, private :: iRecvProc
integer, private :: pos
integer, private :: nElemPos
integer, private :: nProcs_send
integer, private :: nProcs_send2
integer, private, allocatable:: adjProcs_send(:)
type(grw_intarray_type), private, allocatable:: posXk(:)
integer, private :: nProcs_recv
integer, private, allocatable:: adjProcs_recv(:)
integer, private, allocatable:: nElems_recv(:)
integer, private, allocatable:: posXk_recv(:)
integer, private, allocatable:: posXk_send(:)
integer, private :: firstHaloPos
logical, private, allocatable:: procPart(:)