hemocell
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
hemo::LoadBalancer Class Reference

#include <loadBalancer.h>

Collaboration diagram for hemo::LoadBalancer:
Collaboration graph
[legend]

Classes

struct  Box3D_simple
 
class  GatherTimeOfAtomicBlocks
 
struct  TOAB_t
 

Public Member Functions

 LoadBalancer (HemoCell &hemocell_)
 
double calculateFractionalLoadImbalance ()
 
void restructureBlocks (bool checkpoint_available=true)
 
void doLoadBalance ()
 
void reloadCheckpoint ()
 

Private Attributes

bool FLI_iscalled = false
 
map< int, TOAB_tgatherValues
 
HemoCellhemocell
 
bool original_block_stored = true
 
SparseBlockStructure3D * original_block_structure = 0
 
ThreadAttribution * original_thread_attribution = 0
 

Constructor & Destructor Documentation

◆ LoadBalancer()

hemo::LoadBalancer::LoadBalancer ( HemoCell hemocell_)
inline

Member Function Documentation

◆ calculateFractionalLoadImbalance()

double hemo::LoadBalancer::calculateFractionalLoadImbalance ( )
inline

◆ doLoadBalance()

void hemo::LoadBalancer::doLoadBalance ( )

◆ reloadCheckpoint()

void hemo::LoadBalancer::reloadCheckpoint ( )

used to reload a checkpoint, but first reload the config file

◆ restructureBlocks()

void hemo::LoadBalancer::restructureBlocks ( bool  checkpoint_available = true)
inline

Member Data Documentation

◆ FLI_iscalled

bool hemo::LoadBalancer::FLI_iscalled = false
private

◆ gatherValues

map<int,TOAB_t> hemo::LoadBalancer::gatherValues
private

◆ hemocell

HemoCell& hemo::LoadBalancer::hemocell
private

◆ original_block_stored

bool hemo::LoadBalancer::original_block_stored = true
private

◆ original_block_structure

SparseBlockStructure3D* hemo::LoadBalancer::original_block_structure = 0
private

◆ original_thread_attribution

ThreadAttribution* hemo::LoadBalancer::original_thread_attribution = 0
private