10 class ProblemStatBase;
13 const Flag BUILD_RHS = 2;
16 const Flag SOLVE_RHS = 16;
17 const Flag ESTIMATE = 32;
20 const Flag FULL_ITERATION = BUILD | ADAPT | SOLVE | ESTIMATE | MARK;
21 const Flag NO_ADAPTION = BUILD | SOLVE | ESTIMATE;
60 virtual std::string
const&
name()
const = 0;
Holds adapt parameters and infos about the problem.
Definition: AdaptInfo.hpp:26
The Flag class encapsulates flags which represents simple information. Used e.g. while mesh traversal...
Definition: Flag.hpp:14
Interface for master problems needed by the adaption loop. A master problem can handle one single or ...
Definition: ProblemIterationInterface.hpp:30
virtual void beginIteration(AdaptInfo &)
Called before each adaption loop iteration.
Definition: ProblemIterationInterface.hpp:35
virtual std::string const & name() const =0
Returns the name of the problem.
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 ...
virtual ProblemStatBase & problem(int number=0)=0
Returns the problem with the given number. If only one problem is managed by this master problem,...
virtual void endIteration(AdaptInfo &)
Called after each adaption loop iteration.
Definition: ProblemIterationInterface.hpp:45
virtual int numProblems() const =0
Returns number of managed problems.
virtual ProblemStatBase & problem(std::string const &name)=0
Returns the problem with the given name.
Interface for time independent problems. Concrete problems must override all pure virtual methods....
Definition: ProblemStatBase.hpp:59