You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
timestepping
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"
11
#include "
timestepping/strategy.hh
"
12
13
namespace
concepts
{
14
template
<
typename
F>
15
class
Operator;
16
}
17
18
namespace
timestepping
{
19
20
using
concepts::Real
;
21
22
class
TimeVector;
23
24
// ***************************************************************** Alpha **
25
42
class
Alpha
:
public
TimeStepStrategy
{
43
public
:
54
Alpha
(
concepts::SolverFabric<Real>
& fabric,
55
concepts::Operator<Real>
& D2,
56
concepts::Operator<Real>
& D0,
57
timestepping::TimeVector
& trhs,
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
:
66
concepts::Operator<Real>
& D0_;
68
timestepping::TimeVector
&trhs_;
70
concepts::Vector<Real>
Z_, A_;
72
Real alpha_, beta_, gamma_;
73
};
74
}
75
76
#endif
// alpha_hh
concepts::Operator
Definition
compositions.hh:42
concepts::SolverFabric
Definition
solverFabric.hh:22
concepts::Vector
Definition
vector.hh:39
timestepping::Alpha
Definition
alpha.hh:42
timestepping::Alpha::next
virtual void next()
timestepping::Alpha::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
timestepping::Alpha::Alpha
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.)
timestepping::TimeStepStrategy
Definition
strategy.hh:32
timestepping::TimeVector
Definition
vectors.hh:53
concepts
Definition
pml_formula.h:16
concepts::Real
double Real
Definition
typedefs.hh:39
timestepping
Definition
timestepping.hh:75
strategy.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8