DUNE-FEM (unstable)
loadbalancer.hh
83 typedef std::pair< LocalDataInlinerInterfaceType*, LocalDataXtractorInterfaceType* > LocalDataCollectorPairType;
162 DUNE_THROW(InvalidStateException,"LoadBalancer::loadBalance: only call in single thread mode!");
175 std::cout << "P[" << grid_.comm().rank() << "] : Caught " << e.what() << " during LoadBalancer::loadBalance()." << std::endl;
180 std::cout << "P[" << grid_.comm().rank() << "] : Caught a generic exception during LoadBalancer::loadBalance()." << std::endl;
Proxy class to DependencyCache which is singleton per space.
Definition: communicationmanager.hh:304
The DataCollector is an example for a grid walk done while load balancing moves entities from one pro...
Definition: datacollector.hh:435
Definition: dofmanager.hh:786
base class for determing whether a class is a discrete function or not
Definition: discretefunction.hh:53
virtual double loadBalanceTime() const
time that last load balance cycle took
Definition: loadbalancer.hh:52
LoadBalancerInterface()
default constructor
Definition: loadbalancer.hh:40
virtual bool loadBalance()=0
call load balance, returns true if grid was changed
virtual ~LoadBalancerInterface()
destructor
Definition: loadbalancer.hh:44
This class manages the adaptation process. If the method adapt is called, then the grid is adapted an...
Definition: loadbalancer.hh:66
virtual double loadBalanceTime() const
time that last load balance cycle took
Definition: loadbalancer.hh:194
bool loadBalance()
do load balance
Definition: loadbalancer.hh:150
void addToLoadBalancer(DiscreteFunctionType &df)
add discrete function to data inliner/xtractor list
Definition: loadbalancer.hh:201
LoadBalancer(GridType &grid, RestrictProlongOperator &rpOp)
constructor of LoadBalancer
Definition: loadbalancer.hh:88
virtual ~LoadBalancer()
destructor
Definition: loadbalancer.hh:110
void addDiscreteFunction(DiscreteFunctionType &df, const ContainsCheck &containsCheck)
add discrete function to data inliner/xtractor list
Definition: loadbalancer.hh:215
void addDiscreteFunction(DiscreteFunctionType &df)
add discrete function to data inliner/xtractor list
Definition: loadbalancer.hh:208
DofManagerType & dm_
DofManager corresponding to grid.
Definition: loadbalancer.hh:282
Inline DiscreteFunction data during load balancing.
Definition: datacollector.hh:683
Inline DiscreteFunction data during load balancing.
Definition: datacollector.hh:775
void enableDofCompression()
Enable this discrete function for dof compression, i.e. during grid changes a dof compression is done...
Definition: discretefunction.hh:131
Default exception if a function was called while the object is not in a valid state for that function...
Definition: exceptions.hh:281
double elapsed() const noexcept
Get elapsed user-time from last reset until now/last stop in seconds.
Definition: timer.hh:77
void exchange() const
Definition: communicationmanager.hh:391
void addDataXtractor(DataCollType &d)
add data handler for data xtracting to dof manager
Definition: dofmanager.hh:1115
void clearDataXtractors()
clear data xtractor list
Definition: dofmanager.hh:1121
void clearDataInliners()
clear data inliner list
Definition: dofmanager.hh:1108
void addDataInliner(DataCollType &d)
add data handler for data inlining to dof manager
Definition: dofmanager.hh:1102
const char * what() const noexcept override
output internal message buffer
Definition: exceptions.cc:37
A simple timing class.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)