Class documentation of Concepts

Loading...
Searching...
No Matches
timestepping.hh
Go to the documentation of this file.
1
6#ifndef timestepping2_hh
7#define timestepping2_hh
8
10#include "basics/typedefs.hh"
11
12namespace concepts {
13 template<typename F>
14 class Vector;
15}
16
17namespace timestepping {
18
19 using concepts::Real;
20
21 class TimeStepStrategy;
22
23 // ********************************************************** Timestepping **
24
43 public:
47 TimeStepping(TimeStepStrategy& timeStepStrategy);
58 Real time() const;
59 protected:
60 virtual std::ostream& info(std::ostream& os) const;
61 private:
63 uint n_;
65 TimeStepStrategy& timeStepStrategy_;
66 };
67
68}
69
70#endif // timestepping2_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void operator()(concepts::Vector< Real > &sol, uint n)
Real time() const
Return the time of the current solution.
TimeStepping(TimeStepStrategy &timeStepStrategy)
double Real
Definition typedefs.hh:39