5#include "ProblemIterationInterface.hpp"
12 class ProblemStatBase;
34 std::string
const&
name()
const override;
70 template <
class Model>
77 Model& model =
static_cast<Model&
>(self);
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
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
A master problem for a single non coupled problem.
Definition: StandardProblemIteration.hpp:17
ProblemStatBase & problem(int number=0) override
Return the managed ProblemStat problem, by number.
Definition: StandardProblemIteration.cpp:11
StandardProblemIteration(ProblemStatBase &prob)
constructor
Definition: StandardProblemIteration.hpp:20
ProblemStatBase & problem_
The problem to solve.
Definition: StandardProblemIteration.hpp:53
void beginIteration(AdaptInfo &adaptInfo) override
Implementation of ProblemIterationIterface::beginIteration()
Definition: StandardProblemIteration.cpp:25
int numProblems() const override
Returns number of managed problems.
Definition: StandardProblemIteration.hpp:36
std::string const & name() const override
Returns the name of the problem.
Definition: StandardProblemIteration.cpp:82
void endIteration(AdaptInfo &adaptInfo) override
Implementation of ProblemIterationInterface::endIteration()
Definition: StandardProblemIteration.cpp:52
Flag buildAndAdapt(AdaptInfo &adaptInfo, Flag toDo)
Nested assemblage and mesh adaption.
Definition: StandardProblemIteration.cpp:62
Flag oneIteration(AdaptInfo &adaptInfo, Flag toDo) override
Implementation of ProblemIterationInterface::oneIteration()
Definition: StandardProblemIteration.cpp:35