mus_dynLoadBal_module Module


Uses

Used by

  • module~~mus_dynloadbal_module~~UsedByGraph module~mus_dynloadbal_module mus_dynLoadBal_module module~mus_program_module mus_program_module module~mus_program_module->module~mus_dynloadbal_module program~musubi musubi program~musubi->module~mus_program_module

Contents


Subroutines

public subroutine mus_perform_dynLoadBal(scheme, params, geometry, solverData)

Wrap up the routines required for dynamic load balancing

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_type), intent(inout) :: scheme

scheme type

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

Global parameters

type(mus_geom_type), intent(inout) :: geometry

Treelmesh data

type(mus_varSys_solverData_type), target:: solverData

contains pointer to scheme, physics types

private subroutine mus_reset_aux(scheme, params, geometry)

This subroutine initializes musubi after a dynamic load balancing is performed.

Read more…

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_type), intent(inout) :: scheme

scheme type

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

Global parameters

type(mus_geom_type), intent(inout) :: geometry

Treelmesh data

private subroutine mus_balance(tree, minLevel, maxLevel, levelDesc, nBCs, globBC, general, sparta)

This routine performs the load balancing for multilevel simulations. The weights are calculated on the basis of levelwise run time, which are then fed to sparta for calculation of splitting positions. Restart files are saved and the simulation is restarted with the newly distributed mesh

Arguments

TypeIntentOptionalAttributesName
type(treelmesh_type), intent(inout) :: tree

geometry infomation

integer, intent(in) :: minLevel

min level and max level

integer, intent(in) :: maxLevel

min level and max level

type(tem_levelDesc_type), intent(in) :: levelDesc(minLevel:maxLevel)

Level descriptor

integer, intent(in) :: nBCs

global IBM type Number of boundary conditions

type(glob_boundary_type), intent(in) :: globBC(nBCs)

BC elements information

type(tem_general_type), intent(in) :: general

global parameters

type(tem_sparta_type), intent(inout) :: sparta

Sparta data type

private subroutine exchange_tree_bc(sparta, geometry, comm, comm_size)

Arguments

TypeIntentOptionalAttributesName
type(tem_sparta_type), intent(in) :: sparta
type(mus_geom_type), intent(inout) :: geometry
integer, intent(in) :: comm
integer, intent(in) :: comm_size