AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
StandardProblemIterationAdaptor< Model > Class Template Reference

StandardProblemIteration when derived from ProblemStat. More...

#include <StandardProblemIteration.hpp>

Inherits StandardProblemIteration.

Public Member Functions

 StandardProblemIterationAdaptor (StandardProblemIterationAdaptor const &)
 
 StandardProblemIterationAdaptor (StandardProblemIterationAdaptor &&)
 
- Public Member Functions inherited from StandardProblemIteration
 StandardProblemIteration (ProblemStatBase &prob)
 constructor
 
void beginIteration (AdaptInfo &adaptInfo) override
 Implementation of ProblemIterationIterface::beginIteration() More...
 
Flag oneIteration (AdaptInfo &adaptInfo, Flag toDo) override
 Implementation of ProblemIterationInterface::oneIteration() More...
 
void endIteration (AdaptInfo &adaptInfo) override
 Implementation of ProblemIterationInterface::endIteration() More...
 
std::string const & name () const override
 Returns the name of the problem. More...
 
int numProblems () const override
 Returns number of managed problems. More...
 
ProblemStatBaseproblem (int number=0) override
 Return the managed ProblemStat problem, by number. More...
 
ProblemStatBaseproblem (std::string const &name) override
 Return the managed ProblemStat problem, by name. More...
 
virtual void beginIteration (AdaptInfo &)
 Called before each adaption loop iteration. More...
 
virtual Flag oneIteration (AdaptInfo &adaptInfo, Flag toDo=FULL_ITERATION)=0
 Determines the execution order of the single adaption steps. If adapt is true, mesh adaption will be performed. This allows to avoid mesh adaption, e.g. in timestep adaption loops of timestep adaptive strategies. More...
 
virtual void endIteration (AdaptInfo &)
 Called after each adaption loop iteration. More...
 
virtual int numProblems () const =0
 Returns number of managed problems. More...
 
virtual ProblemStatBaseproblem (int number=0)=0
 Returns the problem with the given number. If only one problem is managed by this master problem, the number hasn't to be given. More...
 
virtual ProblemStatBaseproblem (std::string const &name)=0
 Returns the problem with the given name. More...
 
virtual std::string const & name () const =0
 Returns the name of the problem. More...
 

Additional Inherited Members

- Protected Member Functions inherited from StandardProblemIteration
Flag buildAndAdapt (AdaptInfo &adaptInfo, Flag toDo)
 Nested assemblage and mesh adaption.
 
- Protected Attributes inherited from StandardProblemIteration
ProblemStatBaseproblem_
 The problem to solve.
 

Detailed Description

template<class Model>
class AMDiS::StandardProblemIterationAdaptor< Model >

StandardProblemIteration when derived from ProblemStat.

Use this adaptor when multiple inheritance is used:

class Problem
: public ProblemStatBase
{};
Interface for time independent problems. Concrete problems must override all pure virtual methods....
Definition: ProblemStatBase.hpp:59
StandardProblemIteration when derived from ProblemStat.
Definition: StandardProblemIteration.hpp:73

Requirements:


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