A load balancing scheme aiming for the same number of points in each process. More...
#include <ConstNumberPerProc.hpp>


Public Member Functions | |
| ConstNumberPerProc (OuterBoundary const &outer, double speed=0.03, double RoundSpeed=2, int mode=2, bool Rmin=false) | |
| Class constructor. More... | |
| void | Update (Tessellation &tproc, Tessellation const &tlocal) const |
| Updates the load balance, does one iteration. More... | |
| ~ConstNumberPerProc (void) | |
| Class destructor. | |
Public Member Functions inherited from ProcessorUpdate | |
| virtual | ~ProcessorUpdate (void) |
| virtual destructor | |
| double | GetLoadImbalance (Tessellation const &tlocal, int &total) const |
| Calcualtes the load imbalance as max(number of points per proc)/(avg per proc) More... | |
A load balancing scheme aiming for the same number of points in each process.
Definition at line 11 of file ConstNumberPerProc.hpp.
| ConstNumberPerProc::ConstNumberPerProc | ( | OuterBoundary const & | outer, |
| double | speed = 0.03, |
||
| double | RoundSpeed = 2, |
||
| int | mode = 2, |
||
| bool | Rmin = false |
||
| ) |
Class constructor.
| outer | The outer geometric boundary conditions |
| speed | The maximum change (in cell radii) of the processor movement |
| RoundSpeed | By which factor is the rounding mechanisim larger than the movement speed of the mesh points |
| mode | The operating mode, 1=Hybrid, 2=Pressure based, 3= Density based |
| Rmin | Optional, sets a minimum radius for a cpu point to be at. This is sometimes needed in order to prevent cpus with zero points. |
Definition at line 10 of file ConstNumberPerProc.cpp.
|
virtual |
Updates the load balance, does one iteration.
| tproc | The processors tessellation. |
| tlocal | The local tessellation |
Implements ProcessorUpdate.
Definition at line 15 of file ConstNumberPerProc.cpp.

1.8.13