Class documentation of Concepts

Loading...
Searching...
No Matches
alpha.hh
Go to the documentation of this file.
1
6#ifndef alpha_hh
7#define alpha_hh
8
9#include "basics/typedefs.hh"
10#include "function/vector.hh"
12
13namespace concepts {
14 template<typename F>
15 class Operator;
16}
17
18namespace timestepping {
19
20 using concepts::Real;
21
22 class TimeVector;
23
24 // ***************************************************************** Alpha **
25
42 class Alpha : public TimeStepStrategy {
43 public:
58 const concepts::Vector<Real>& Y0,
59 const concepts::Vector<Real>& Z0,
60 Real dt, Real alpha = 0.);
61 protected:
62 virtual std::ostream& info(std::ostream& os) const;
63 virtual void next();
64 private:
72 Real alpha_, beta_, gamma_;
73 };
74}
75
76#endif // alpha_hh
virtual void next()
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Alpha(concepts::SolverFabric< Real > &fabric, concepts::Operator< Real > &D2, concepts::Operator< Real > &D0, timestepping::TimeVector &trhs, const concepts::Vector< Real > &Y0, const concepts::Vector< Real > &Z0, Real dt, Real alpha=0.)
double Real
Definition typedefs.hh:39