mus_finalize_layout Subroutine

public subroutine mus_finalize_layout(layout, nElemsInTree, minLevel, maxLevel, proc)

This routine finialize grwStencil by truncating stencil elem arrays and set stencil%nElems

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_layout_type), intent(inout) :: layout

scheme layout

integer, intent(in) :: nElemsInTree

fluid tree from mesh

integer, intent(in) :: minLevel

min and max level

integer, intent(in) :: maxLevel

min and max level

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

mpi communication type


Calls

proc~~mus_finalize_layout~~CallsGraph proc~mus_finalize_layout mus_finalize_layout interface~destroy~2 destroy proc~mus_finalize_layout->interface~destroy~2 mpi_gather mpi_gather proc~mus_finalize_layout->mpi_gather mpi_type_contiguous mpi_type_contiguous proc~mus_finalize_layout->mpi_type_contiguous interface~truncate truncate proc~mus_finalize_layout->interface~truncate mpi_gatherv mpi_gatherv proc~mus_finalize_layout->mpi_gatherv interface~append append proc~mus_finalize_layout->interface~append mpi_type_commit mpi_type_commit proc~mus_finalize_layout->mpi_type_commit

Called by

proc~~mus_finalize_layout~~CalledByGraph proc~mus_finalize_layout mus_finalize_layout proc~mus_construct mus_construct proc~mus_construct->proc~mus_finalize_layout proc~mus_hvs_construct mus_hvs_construct proc~mus_hvs_construct->proc~mus_finalize_layout proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_construct program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_construct program~mus_harvesting->proc~mus_hvs_construct proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_construct none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize proc~mus_solve mus_solve proc~mus_solve->none~do_balance

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iStencil
integer, private :: iLevel
integer, private :: iProc
integer, private, allocatable:: nElems_totalStencil(:)
integer, private :: nStencils_all(proc%comm_size)
integer, private :: nStencils_total
integer, private :: offset(proc%comm_size)
integer, private :: iErr
integer, private :: charType
integer, private :: stencilPos
logical, private :: wasAdded
type(dyn_labelarray_type), private :: stencil_labels
type(grw_longarray_type), private :: nElems
character(len=labelLen), private, allocatable:: stencil_labels_total(:)