Updates the positions of the processes. More...
#include <ProcessorUpdate.hpp>
Public Member Functions | |
virtual void | Update (Tessellation &tproc, Tessellation const &tlocal) const =0 |
Moves the processor tessellation. More... | |
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... | |
Updates the positions of the processes.
Definition at line 17 of file ProcessorUpdate.hpp.
double ProcessorUpdate::GetLoadImbalance | ( | Tessellation const & | tlocal, |
int & | total | ||
) | const |
Calcualtes the load imbalance as max(number of points per proc)/(avg per proc)
tlocal | The local tesselaltion |
total | The total number of points, given as output |
Definition at line 9 of file ProcessorUpdate.cpp.
|
pure virtual |
Moves the processor tessellation.
tproc | The tessellation of the processors |
tlocal | The tessellation of the local mesh points |
Implemented in ConstNumberPerProc.