ConstNumberPerProc.hpp
Go to the documentation of this file.
1 
6 #ifndef CONSTPERPROC
7 #define CONSTPERPROC 1
8 #include "ProcessorUpdate.hpp"
9 
12 {
13 public:
22  ConstNumberPerProc(OuterBoundary const& outer,double speed=0.03,
23  double RoundSpeed=2,int mode=2,bool Rmin = false);
24 
30  void Update(Tessellation &tproc,Tessellation const& tlocal)const;
31 
33  ~ConstNumberPerProc(void);
34 
35 private:
36  OuterBoundary const& outer_;
37  const double speed_;
38  const double RoundSpeed_;
39  const int mode_;
40  const bool Rmin_;
41 };
42 #endif //CONSTPERPROC
Abstract class for motion of the processor points.
Abstract class for tessellation.
A load balancing scheme aiming for the same number of points in each process.
Updates the positions of the processes.
~ConstNumberPerProc(void)
Class destructor.
void Update(Tessellation &tproc, Tessellation const &tlocal) const
Updates the load balance, does one iteration.
ConstNumberPerProc(OuterBoundary const &outer, double speed=0.03, double RoundSpeed=2, int mode=2, bool Rmin=false)
Class constructor.
Abstract class for geometric boundary conditions for the tessellation.