Public Member Functions | List of all members
ProcessorUpdate Class Referenceabstract

Updates the positions of the processes. More...

#include <ProcessorUpdate.hpp>

Inheritance diagram for ProcessorUpdate:
Inheritance graph
[legend]

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...
 

Detailed Description

Updates the positions of the processes.

Definition at line 17 of file ProcessorUpdate.hpp.

Member Function Documentation

◆ GetLoadImbalance()

double ProcessorUpdate::GetLoadImbalance ( Tessellation const &  tlocal,
int &  total 
) const

Calcualtes the load imbalance as max(number of points per proc)/(avg per proc)

Parameters
tlocalThe local tesselaltion
totalThe total number of points, given as output
Returns
The load imbalance

Definition at line 9 of file ProcessorUpdate.cpp.

Here is the call graph for this function:

◆ Update()

virtual void ProcessorUpdate::Update ( Tessellation tproc,
Tessellation const &  tlocal 
) const
pure virtual

Moves the processor tessellation.

Parameters
tprocThe tessellation of the processors
tlocalThe tessellation of the local mesh points

Implemented in ConstNumberPerProc.


The documentation for this class was generated from the following files: