DUNE-FEM (unstable)

Dune::Fem::AdaptationManagerInterface Class Reference

AdaptationManagerInterface class. More...

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

Public Member Functions

 AdaptationManagerInterface ()
 default constructor
 
virtual ~AdaptationManagerInterface ()
 destructor
 
virtual void adapt ()
 on call of this method the internal adaptation operator is called.
 
virtual bool adaptive () const
 returns true if adaptation manager as adaptation method different to NONE More...
 
virtual bool isCallBackAdaptation () const
 return true if callback adaptation is used.
 
virtual const char * methodName () const
 returns name of adaptation method More...
 
AdaptationManagerInterfaceoperator= (const AdaptationManagerInterface &am)
 Assignment operator, pointer to adaptation manager is stored. 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
 
virtual double loadBalanceTime () const
 time that last load balance cycle took
 

Detailed Description

AdaptationManagerInterface class.

This Class is the result of a combination of different AdaptationOperators. It is the same principle as with Mapping.

Member Function Documentation

◆ adaptive()

virtual bool Dune::Fem::AdaptationManagerInterface::adaptive ( ) const
inlinevirtual

returns true if adaptation manager as adaptation method different to NONE

Returns
true if adaptation method is not NONE, false otherwise

Reimplemented in Dune::Fem::AdaptationMethod< GridType >, and Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >.

References adaptive().

Referenced by adaptive().

◆ balanceCounter()

◆ loadBalance()

virtual bool Dune::Fem::AdaptationManagerInterface::loadBalance ( )
inlinevirtual

◆ methodName()

virtual const char * Dune::Fem::AdaptationManagerInterface::methodName ( ) const
inlinevirtual

returns name of adaptation method

Returns
name of adaptation method

Reimplemented in Dune::Fem::AdaptationMethod< GridType >, and Dune::Fem::hpDG::AdaptationManager< DiscreteFunctionSpace, DataProjection >.

References methodName().

Referenced by methodName().

◆ operator=()

AdaptationManagerInterface & Dune::Fem::AdaptationManagerInterface::operator= ( const AdaptationManagerInterface am)
inline

Assignment operator, pointer to adaptation manager is stored.

Returns
reference to this (i.e. *this)
Todo:
This const-casting seems strange to me!

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.111.3 (Nov 20, 23:30, 2024)