AMDiS  0.1
The Adaptive Multi-Dimensional Simulation Toolbox
AdaptBase Class Referenceabstract

Interface for adaption loops. More...

#include <AdaptBase.hpp>

Inherited by AdaptInstationary, and AdaptStationary.

Public Member Functions

 AdaptBase (std::string const &name, ProblemIterationInterface *problemIteration, AdaptInfo &adaptInfo, ProblemTimeInterface *problemTime=nullptr, AdaptInfo *initialAdaptInfo=nullptr)
virtual ~AdaptBase ()=default
virtual int adapt ()=0
 Pure virtual method. Must be overloaded by sub classes to perform a concrete adaption loop.
std::string const & name () const
 Returns name.
ProblemIterationInterfaceproblemIteration () const
 Returns problemIteration.
void setProblemIteration (ProblemIterationInterface *problemIteration)
AdaptInfoadaptInfo () const
 Returns adaptInfo.
ProblemTimeInterfaceproblemTime () const
 Returns problemTime.
void setProblemTime (ProblemTimeInterface *problemTime)
AdaptInfoinitialAdaptInfo () const
 Returns initialAdaptInfo.

Protected Attributes

std::string name_
 Name of the adaption loop.
 Problem iteration interface.
 Main adapt info.
 problem time interface
 Adapt info for initial adapt. Will be given to problemTime->solveInitialProblem().

Detailed Description

Interface for adaption loops.

The documentation for this class was generated from the following file: