7 #include "AdaptBase.hpp" 13 class ProblemIterationInterface;
14 class ProblemTimeInterface;
bool fixedTimestep_
min-timestep == max-timestep
Definition: AdaptInstationary.hpp:89
virtual void implicitTimeStrategy()
Implements the implicit time strategy. Used by oneTimestep().
Definition: AdaptInstationary.cpp:57
virtual void explicitTimeStrategy()
Implements the explit time strategy. Used by oneTimestep().
Definition: AdaptInstationary.cpp:31
Interface for master problems needed by the adaption loop. A master problem can handle one single or ...
Definition: ProblemIterationInterface.hpp:29
double timeDelta1_
Parameter used in time step reduction.
Definition: AdaptInstationary.hpp:79
void simpleAdaptiveTimeStrategy()
This iteration strategy allows the timestep and the mesh to be adapted after each timestep solution...
Definition: AdaptInstationary.cpp:146
AdaptInstationary(std::string const &name, ProblemIterationInterface &problemStat, AdaptInfo &info, ProblemTimeInterface &problemInstat, AdaptInfo &initialInfo)
Definition: AdaptInstationary.cpp:15
void setStrategy(int strategy)
Sets strategy to aStrategy.
Definition: AdaptInstationary.hpp:35
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
double timeDelta2_
Parameter used in time step enlargement.
Definition: AdaptInstationary.hpp:82
std::string const & name() const
Returns name.
Definition: AdaptBase.hpp:40
AdaptInstationary implements the adaptive procedure for time dependent problems (see ProblemInstat)...
Definition: AdaptInstationary.hpp:22
virtual void oneTimestep()
Implements one (maybe adaptive) timestep. Both the explicit and the implicit time strategy are implem...
Definition: AdaptInstationary.cpp:175
Holds adapt parameters and infos about the problem.
Definition: AdaptInfo.hpp:25
void info(int noInfoLevel, std::string const &str, Args &&... args)
prints a message, if Environment::infoLevel() >= noInfoLevel
Definition: Output.hpp:105
Interface for time dependent problems. Concrete problems must override all pure virtual methods...
Definition: ProblemTimeInterface.hpp:14
int adapt() override
Implementation of AdaptBase::adapt()
Definition: AdaptInstationary.cpp:200
int strategy_
Strategy for choosing one timestep.
Definition: AdaptInstationary.hpp:76
int strategy() const
Returns strategy.
Definition: AdaptInstationary.hpp:41
Interface for adaption loops.
Definition: AdaptBase.hpp:14
bool breakWhenStable_
Definition: AdaptInstationary.hpp:86