timeLinearForm.hh

Go to the documentation of this file.
1 
6 #ifndef vectorialTlf_hh
7 #define vectorialTlf_hh
8 
9 #include "vectorial/vectorial.hh"
10 #include "timestepping/vectors.hh"
11 
12 // debugging
13 #include "basics/debug.hh"
14 
15 #define TimeLinearFormConstr_D 0
16 
17 namespace vectorial {
18 
19  using concepts::Real;
20 
26  class TimeLinearForm : public Vectorial<timestepping::TimeLinearForm >,
28  public:
29  TimeLinearForm(const uint vdim, const uint arrayWidth=0) :
32  }
33  virtual ~TimeLinearForm();
34 
36  const int i, const int j=0);
37  virtual void operator ()(const concepts::Element<Real>& elm,
40  virtual void time(Real time);
41  protected:
42  virtual std::ostream& info(std::ostream& os) const;
43  };
44 
45 } // namespace vectorial
46 
47 #endif // vectorialTlf_hh
Vector valued time dependent linear form.
Vector valued problems.
Definition: spaceTraits.hh:24
TimeLinearForm(const uint vdim, const uint arrayWidth=0)
Timestepping methods used to solve PDEs in time and space.
Definition: alpha.hh:18
uint vdim() const
Returns number of components.
Definition: vectorial.hh:77
Real time()
Returns time_.
Definition: vectors.hh:41
#define DEBUGL(doit, msg)
virtual void put(timestepping::TimeLinearForm &lf, const int i, const int j=0)
#define TimeLinearFormConstr_D
Base class for most classes which do vector valued problems.
Definition: vectorial.hh:59
virtual void operator()(const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em)
Abstract class implementing time dependent linear forms.
Definition: vectors.hh:35
virtual std::ostream & info(std::ostream &os) const
virtual void time(Real time)
set the time of all scalar linear forms
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich