5 #include <amdis/ProblemInstatBase.hpp> 6 #include <amdis/ProblemStat.hpp> 7 #include <amdis/common/TypeTraits.hpp> 21 template <
class Traits>
60 "OldSolution need to be created. Call initialize with INIT_UH_OLD.");
69 template <
class Range = void,
class...
Indices>
73 "OldSolution need to be created. Call initialize with INIT_UH_OLD.");
94 template <
class Traits>
98 template <
class Traits>
109 #include "ProblemInstat.inc.hpp" ProblemInstat(std::string const &name, ProblemType &prob)
Constructs a ProblemInstat with prob as its stationary problem, stored as reference.
Definition: ProblemInstat.hpp:32
The Flag class encapsulates flags which represents simple information. Used e.g. while mesh traversal...
Definition: Flag.hpp:13
void createUhOld()
Used in initialize() to create the oldSolution_.
Definition: ProblemInstat.inc.hpp:39
std::index_sequence< I... > Indices
class that represents a sequence of indices
Definition: Index.hpp:40
void closeTimestep(AdaptInfo &adaptInfo) override
Implementation of ProblemTimeInterface::closeTimestep().
Definition: ProblemInstat.inc.hpp:22
auto oldSolution(Indices... ii) const
Return a const view to a oldSolution component.
Definition: ProblemInstat.hpp:70
void initTimestep(AdaptInfo &adaptInfo) override
Implementation of ProblemTimeInterface::initTimestep().
Definition: ProblemInstat.inc.hpp:51
void test_exit_dbg(bool condition, Args &&... args)
call assert_msg, in debug mode only
Definition: Output.hpp:205
The basic container that stores a base vector and a corresponding basis.
Definition: DOFVector.hpp:27
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
ProblemType * problemStat_
Space problem solved in each timestep. (non-owning pointer)
Definition: ProblemInstat.hpp:86
void transferInitialSolution(AdaptInfo &adaptInfo) override
Implementation of ProblemTimeInterface::transferInitialSolution().
Definition: ProblemInstat.inc.hpp:11
Definition: ProblemStat.hpp:52
virtual std::string const & name() const
Return the name of the instationary problem name_.
Definition: ProblemInstatBase.hpp:47
Standard implementation of ProblemTimeInterface for a time dependent problems.
Definition: ProblemInstat.hpp:22
ProblemInstat(std::string const &name, ProblemType &prob, ProblemStatBase &initialProb)
Constructor. Stores a reference to prob and initialProb.
Definition: ProblemInstat.hpp:38
void initialize(Flag initFlag=INIT_NOTHING)
Initialisation of the problem.
Definition: ProblemInstat.inc.hpp:30
Interface for time independent problems. Concrete problems must override all pure virtual methods...
Definition: ProblemStatBase.hpp:58
ProblemType & problemStat()
Returns problemStat.
Definition: ProblemInstat.hpp:53
Holds adapt parameters and infos about the problem.
Definition: AdaptInfo.hpp:25
std::shared_ptr< SolutionVector const > oldSolutionVector() const
Returns const-ref of oldSolution.
Definition: ProblemInstat.hpp:57
Base class for ProblemInstat.
Definition: ProblemInstatBase.hpp:19
std::shared_ptr< SolutionVector > oldSolution_
Solution of the last timestep.
Definition: ProblemInstat.hpp:89