calculate_nElems Subroutine

public subroutine calculate_nElems(levelDesc, proc, minLevel, maxLevel)

Calculate global and sum of levels numbers of elements

Todo

This routine can be seperated.

Arguments

Type IntentOptional Attributes Name
type(tem_levelDesc_type), intent(in) :: levelDesc(minLevel:maxLevel)
type(tem_comm_env_type), intent(in) :: proc

mpi communication enviroment with mpi communicator

integer, intent(in) :: minLevel

Level range

integer, intent(in) :: maxLevel

Calls

proc~~calculate_nelems~~CallsGraph proc~calculate_nelems calculate_nElems mpi_allreduce mpi_allreduce proc~calculate_nelems->mpi_allreduce nelems nelems proc~calculate_nelems->nelems tem_horizontalSpacer tem_horizontalSpacer proc~calculate_nelems->tem_horizontalSpacer

Called by

proc~~calculate_nelems~~CalledByGraph proc~calculate_nelems calculate_nElems proc~mus_construct mus_construct proc~mus_construct->proc~calculate_nelems proc~mus_hvs_construct mus_hvs_construct proc~mus_hvs_construct->proc~calculate_nelems proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_construct proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_construct program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_construct program~mus_harvesting->proc~mus_hvs_construct proc~mus_solve mus_solve proc~mus_solve->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize program~musubi->proc~mus_solve