Wrap up the routines required for dynamic load balancing
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
This subroutine initializes musubi after a dynamic load balancing is performed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
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
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_sparta_type), | intent(in) | :: | sparta | |||
type(mus_geom_type), | intent(inout) | :: | geometry | |||
integer, | intent(in) | :: | comm | |||
integer, | intent(in) | :: | comm_size |