mus_weights_module Module

This module include the routine required for element wie dumping weight for better load balancing. Dump weights at end of simulation if 'write_weights' is defined in the config file. Weights are based on element wise time measurements


Uses

Used by

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

Contents


Subroutines

public subroutine mus_getWeights(weights, tree, minLevel, maxLevel, levelDesc, nBCs, globBC)

Calculate weights using timing from compute kernel, interpolation and boundary routines

Read more…

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(out) :: weights(:)
type(treelmesh_type), intent(in) :: 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

public subroutine mus_dumpWeights(tree, weights, basename)

Dump weights to a file.

Arguments

TypeIntentOptionalAttributesName
type(treelmesh_type), intent(in) :: tree
real(kind=rk), intent(in) :: weights(:)
character(len=pathLen), intent(in) :: basename