nystroem.hh

Go to the documentation of this file.
1 
6 #ifndef nystroem_hh
7 #define nystroem_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  // ************************************************************** Nystroem **
25 
41  class Nystroem : public TimeStepStrategy {
42  public:
56  const concepts::Vector<Real>& Y0,
57  const concepts::Vector<Real>& Z0,
58  Real dt);
59  protected:
60  virtual std::ostream& info(std::ostream& os) const;
61  virtual void next();
62  private:
69  };
70 }
71 
72 #endif // nystroem_hh
concepts::Vector< Real > Z_
Store velocity times timestep in Z.
Definition: nystroem.hh:68
Timestepping methods used to solve PDEs in time and space.
Definition: alpha.hh:18
concepts::Operator< Real > & D0_
Space operator.
Definition: nystroem.hh:64
virtual void next()
The overloaded member function next() has to calculate the new right hand side and to release the sol...
Nystroem(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)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Abstract strategy class for the class Timestepping.
Definition: strategy.hh:32
timestepping::TimeVector & trhs_
External driver function.
Definition: nystroem.hh:66
Class implementing time dependent vectors.
Definition: vectors.hh:53
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Timestep strategy for a Nyström algorithm to solve second order problems in time with no first order ...
Definition: nystroem.hh:41
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich