DUNE-FEM (unstable)

Dune::Fem::LoadBalancer< GridType > Class Template Reference

This class manages the adaptation process. If the method adapt is called, then the grid is adapted and also all the data belonging to the given dof manager will be rearranged for data set where it is necessary to keep the data. More...

#include <dune/fem/space/common/loadbalancer.hh>

Public Member Functions

virtual ~LoadBalancer ()
 destructor
 
bool loadBalance ()
 do load balance
 
virtual double loadBalanceTime () const
 time that last load balance cycle took More...
 
template<class DiscreteFunctionType >
void addToLoadBalancer (DiscreteFunctionType &df)
 add discrete function to data inliner/xtractor list
 
template<class DiscreteFunctionType >
void addDiscreteFunction (DiscreteFunctionType &df)
 add discrete function to data inliner/xtractor list
 
template<class DiscreteFunctionType , class ContainsCheck >
void addDiscreteFunction (DiscreteFunctionType &df, const ContainsCheck &containsCheck)
 add discrete function to data inliner/xtractor list
 

Protected Member Functions

template<class RestrictProlongOperator >
 LoadBalancer (GridType &grid, RestrictProlongOperator &rpOp)
 constructor of LoadBalancer
 

Protected Attributes

GridType & grid_
 corresponding grid
 
DofManagerTypedm_
 DofManager corresponding to grid.
 

Detailed Description

template<class GridType>
class Dune::Fem::LoadBalancer< GridType >

This class manages the adaptation process. If the method adapt is called, then the grid is adapted and also all the data belonging to the given dof manager will be rearranged for data set where it is necessary to keep the data.

Member Function Documentation

◆ loadBalanceTime()

template<class GridType >
virtual double Dune::Fem::LoadBalancer< GridType >::loadBalanceTime ( ) const
inlinevirtual

time that last load balance cycle took

Reimplemented from Dune::Fem::LoadBalancerInterface.

Reimplemented in Dune::Fem::AdaptationManager< GridType, RestProlOperatorImp >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 27, 22:29, 2024)