OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::WallClockLoadBalancerMonitor Class Reference

Implementation of simple wall-clock based monitor. More...

#include <wallclockloadbalancermonitor.h>

+ Inheritance diagram for oofem::WallClockLoadBalancerMonitor:
+ Collaboration diagram for oofem::WallClockLoadBalancerMonitor:

Public Member Functions

 WallClockLoadBalancerMonitor (EngngModel *em)
 
LoadBalancerDecisionType decide (TimeStep *)
 Returns flag indicating whether rebalancing is necessary; should update node weights as well. More...
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
virtual const char * giveClassName () const
 Returns class name of the receiver. More...
 
- Public Member Functions inherited from oofem::LoadBalancerMonitor
 LoadBalancerMonitor (EngngModel *em)
 
virtual ~LoadBalancerMonitor ()
 
const FloatArraygiveProcessorWeights ()
 Returns processor weights; the larger weight means more powerful node, sum of weights should equal to one. More...
 

Protected Attributes

double relWallClockImbalanceTreshold
 Declares min abs imbalance to perform relative imbalance check. More...
 
double absWallClockImbalanceTreshold
 
double minAbsWallClockImbalanceTreshold
 
int lbstep
 The rebalancing done every lbstep. More...
 
std::list< RangeperturbedSteps
 List of steps with perturbed balancing. More...
 
double perturbFactor
 Perturbing factor. More...
 
IntArray recoveredSteps
 list of step at which to performed lb recovery. More...
 
FloatArray processingWeights
 processing weights for lb recovery. More...
 
- Protected Attributes inherited from oofem::LoadBalancerMonitor
EngngModelemodel
 
FloatArray nodeWeights
 
bool staticNodeWeightFlag
 

Additional Inherited Members

- Public Types inherited from oofem::LoadBalancerMonitor
enum  LoadBalancerDecisionType { LBD_CONTINUE, LBD_RECOVER }
 

Detailed Description

Implementation of simple wall-clock based monitor.

It detect imbalance based on wall clock difference required for solution step on particular nodes. When difference in wall clock solution times is greater than a threshold value, the load migration is performed.

Definition at line 69 of file wallclockloadbalancermonitor.h.

Constructor & Destructor Documentation

oofem::WallClockLoadBalancerMonitor::WallClockLoadBalancerMonitor ( EngngModel em)
inline

Definition at line 87 of file wallclockloadbalancermonitor.h.

Member Function Documentation

virtual const char* oofem::WallClockLoadBalancerMonitor::giveClassName ( ) const
inlinevirtual

Returns class name of the receiver.

Implements oofem::LoadBalancerMonitor.

Definition at line 98 of file wallclockloadbalancermonitor.h.

Member Data Documentation

double oofem::WallClockLoadBalancerMonitor::absWallClockImbalanceTreshold
protected

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

int oofem::WallClockLoadBalancerMonitor::lbstep
protected

The rebalancing done every lbstep.

Definition at line 75 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

double oofem::WallClockLoadBalancerMonitor::minAbsWallClockImbalanceTreshold
protected

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

std :: list< Range > oofem::WallClockLoadBalancerMonitor::perturbedSteps
protected

List of steps with perturbed balancing.

Definition at line 78 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

double oofem::WallClockLoadBalancerMonitor::perturbFactor
protected

Perturbing factor.

Definition at line 80 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

FloatArray oofem::WallClockLoadBalancerMonitor::processingWeights
protected

processing weights for lb recovery.

Definition at line 84 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

IntArray oofem::WallClockLoadBalancerMonitor::recoveredSteps
protected

list of step at which to performed lb recovery.

Definition at line 82 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

double oofem::WallClockLoadBalancerMonitor::relWallClockImbalanceTreshold
protected

Declares min abs imbalance to perform relative imbalance check.

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:43 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011