OOFEM 3.0
Loading...
Searching...
No Matches
oofem::WallClockLoadBalancerMonitor Class Reference

#include <wallclockloadbalancermonitor.h>

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

Public Member Functions

 WallClockLoadBalancerMonitor (EngngModel *em)
LoadBalancerDecisionType decide (TimeStep *) override
 Returns flag indicating whether rebalancing is necessary; should update node weights as well.
void initializeFrom (InputRecord &ir) override
 Initializes receiver according to object description stored in input record.
const char * giveClassName () const override
 Returns class name of the receiver.
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.

Protected Attributes

double relWallClockImbalanceTreshold
 Declares min abs imbalance to perform relative imbalance check.
double absWallClockImbalanceTreshold
double minAbsWallClockImbalanceTreshold
int lbstep
 The rebalancing done every lbstep.
std ::list< RangeperturbedSteps
 List of steps with perturbed balancing.
double perturbFactor
 Perturbing factor.
IntArray recoveredSteps
 list of step at which to performed lb recovery.
FloatArray processingWeights
 processing weights for lb recovery.
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

◆ WallClockLoadBalancerMonitor()

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

Member Function Documentation

◆ decide()

◆ giveClassName()

const char * oofem::WallClockLoadBalancerMonitor::giveClassName ( ) const
inlineoverridevirtual

Returns class name of the receiver.

Implements oofem::LoadBalancerMonitor.

Definition at line 99 of file wallclockloadbalancermonitor.h.

◆ initializeFrom()

Member Data Documentation

◆ absWallClockImbalanceTreshold

double oofem::WallClockLoadBalancerMonitor::absWallClockImbalanceTreshold
protected

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by initializeFrom(), and WallClockLoadBalancerMonitor().

◆ lbstep

int oofem::WallClockLoadBalancerMonitor::lbstep
protected

The rebalancing done every lbstep.

Definition at line 75 of file wallclockloadbalancermonitor.h.

Referenced by initializeFrom(), and WallClockLoadBalancerMonitor().

◆ minAbsWallClockImbalanceTreshold

double oofem::WallClockLoadBalancerMonitor::minAbsWallClockImbalanceTreshold
protected

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by initializeFrom(), and WallClockLoadBalancerMonitor().

◆ perturbedSteps

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

◆ perturbFactor

double oofem::WallClockLoadBalancerMonitor::perturbFactor
protected

Perturbing factor.

Definition at line 80 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

◆ processingWeights

FloatArray oofem::WallClockLoadBalancerMonitor::processingWeights
protected

processing weights for lb recovery.

Definition at line 84 of file wallclockloadbalancermonitor.h.

Referenced by decide(), and initializeFrom().

◆ recoveredSteps

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

◆ relWallClockImbalanceTreshold

double oofem::WallClockLoadBalancerMonitor::relWallClockImbalanceTreshold
protected

Declares min abs imbalance to perform relative imbalance check.

Definition at line 73 of file wallclockloadbalancermonitor.h.

Referenced by initializeFrom(), and WallClockLoadBalancerMonitor().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011