|
dune-fem
2.8-git
|
AdaptationMethod is a simple adaptation method reader class. More...
#include <dune/fem/space/common/adaptationmanager.hh>

Public Types | |
| enum | AdaptationMethodType { none = 0 , generic = 1 , callback = 2 } |
| type of adaptation method More... | |
Public Member Functions | |
| AdaptationMethod (const GridType &grid, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of AdaptationMethod The following optional parameters are used More... | |
| virtual | ~AdaptationMethod () |
| virtual destructor More... | |
| virtual const char * | methodName () const |
| returns name of adaptation method More... | |
| virtual bool | adaptive () const |
| returns true if adaptation manager as adaptation method different to NONE More... | |
| virtual void | adapt () |
| on call of this method the internal adaptation operator is called. More... | |
| virtual bool | loadBalance () |
| call load balance, returns true if grid was changed More... | |
| virtual int | balanceCounter () const |
| virtual double | adaptationTime () const |
| time that last adaptation cycle took More... | |
| virtual double | loadBalanceTime () const |
| time that last load balance cycle took More... | |
Protected Attributes | |
| AdaptationMethodType | adaptationMethod_ |
| method identifier More... | |
AdaptationMethod is a simple adaptation method reader class.
| enum Dune::Fem::AdaptationMethod::AdaptationMethodType |
type of adaptation method
| Enumerator | |
|---|---|
| none | no adaptation is performed |
| generic | a generic restriction and prolongation algorithm is used |
| callback | the callback mechanism from AlbertaGrid and ALUGrid is used |
|
inline |
constructor of AdaptationMethod The following optional parameters are used
AdaptationMethod: 1 # default value
| grid | Grid that adaptation method is read for |
|
inlinevirtual |
virtual destructor
|
inlinevirtualinherited |
on call of this method the internal adaptation operator is called.
Reimplemented in Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >, Dune::Fem::AdaptationManager< GridType, RestProlOperatorImp >, and Dune::Fem::AdaptationManagerBase< GridType, RestProlOperatorImp >.
|
inlinevirtualinherited |
time that last adaptation cycle took
Reimplemented in Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >, and Dune::Fem::AdaptationManagerBase< GridType, RestProlOperatorImp >.
|
inlinevirtual |
returns true if adaptation manager as adaptation method different to NONE
Reimplemented from Dune::Fem::AdaptationManagerInterface.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
call load balance, returns true if grid was changed
Implements Dune::Fem::LoadBalancerInterface.
Reimplemented in Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >, Dune::Fem::AdaptationManager< GridType, RestProlOperatorImp >, and Dune::Fem::AdaptationManagerBase< GridType, RestProlOperatorImp >.
|
inlinevirtualinherited |
time that last load balance cycle took
Reimplemented in Dune::Fem::LoadBalancer< GridType >, Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >, and Dune::Fem::AdaptationManager< GridType, RestProlOperatorImp >.
|
inlinevirtual |
returns name of adaptation method
Reimplemented from Dune::Fem::AdaptationManagerInterface.
|
protected |
method identifier