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