AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
AdaptStationary.hpp
1#pragma once
2
3// std c++ headers
4#include <string>
5
6// AMDiS includes
7#include "AdaptBase.hpp"
8
9namespace AMDiS
10{
11 // forward declarations
12 class AdaptInfo;
13 class ProblemIterationInterface;
14
29 : public AdaptBase
30 {
31 public:
33 AdaptStationary(std::string const& name,
36
38 int adapt() override;
39 };
40
41} // end namespace AMDiS
Interface for adaption loops.
Definition: AdaptBase.hpp:15
std::string const & name() const
Returns name.
Definition: AdaptBase.hpp:40
AdaptInfo & adaptInfo() const
Returns adaptInfo.
Definition: AdaptBase.hpp:58
ProblemIterationInterface * problemIteration() const
Returns problemIteration.
Definition: AdaptBase.hpp:46
Holds adapt parameters and infos about the problem.
Definition: AdaptInfo.hpp:26
Contains all classes needed for space and time adaption.
Definition: AdaptStationary.hpp:30
AdaptStationary(std::string const &name, ProblemIterationInterface &problemIteration, AdaptInfo &adaptInfo)
Creates a AdaptStationary object with given name.
Definition: AdaptStationary.cpp:13
int adapt() override
Implementation of AdaptBase::adapt()
Definition: AdaptStationary.cpp:20
Interface for master problems needed by the adaption loop. A master problem can handle one single or ...
Definition: ProblemIterationInterface.hpp:30