You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
timestepping
timestepping.hh
Go to the documentation of this file.
1
6
#ifndef timestepping2_hh
7
#define timestepping2_hh
8
9
#include "
basics/outputOperator.hh
"
10
#include "
basics/typedefs.hh
"
11
12
namespace
concepts
{
13
template
<
typename
F>
14
class
Vector;
15
}
16
17
namespace
timestepping
{
18
19
using
concepts::Real
;
20
21
class
TimeStepStrategy;
22
23
// ********************************************************** Timestepping **
24
42
class
TimeStepping
:
public
concepts::OutputOperator
{
43
public
:
47
TimeStepping
(
TimeStepStrategy
& timeStepStrategy);
55
void
operator()
(
concepts::Vector<Real>
& sol, uint n);
56
uint
operator()
(
concepts::Vector<Real>
& sol);
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
concepts::OutputOperator
Definition
outputOperator.hh:42
concepts::Vector
Definition
vector.hh:39
timestepping::TimeStepStrategy
Definition
strategy.hh:32
timestepping::TimeStepping
Definition
timestepping.hh:42
timestepping::TimeStepping::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
timestepping::TimeStepping::operator()
void operator()(concepts::Vector< Real > &sol, uint n)
timestepping::TimeStepping::time
Real time() const
Return the time of the current solution.
timestepping::TimeStepping::TimeStepping
TimeStepping(TimeStepStrategy &timeStepStrategy)
concepts
Definition
pml_formula.h:16
concepts::Real
double Real
Definition
typedefs.hh:39
timestepping
Definition
timestepping.hh:75
outputOperator.hh
typedefs.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8