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
Calculate weights using timing from compute kernel, interpolation and boundary routines
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Dump weights to a file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree | |||
real(kind=rk), | intent(in) | :: | weights(:) | |||
character(len=pathLen), | intent(in) | :: | basename |