levelRieszElement.hh

Go to the documentation of this file.
1 #ifndef LevelRieszElement_hh
2 #define LevelRieszElement_hh
3 
4 #include "../hp1D.hh"
5 #include "../hp2D.hh"
6 #include "../formula.hh"
7 #include "../function.hh"
8 
9 using concepts::Real;
10 using concepts::Real2d;
11 
12 namespace hp1D {
13 
14  //*************************************************** LevelRieszElement *****
34  class LevelRieszElement : public concepts::LinearForm<concepts::Real> {
35  public:
36 
45  const concepts::ElementFormulaContainer<Real>& levelFunction,
46  const concepts::ElementFormulaContainer<Real2d>& levelFunctionGrad,
47  const concepts::ElementFormulaContainer<Real>& observable);
48 
53 
56 
57  protected:
58 
59  virtual std::ostream& info(std::ostream& os) const;
60 
61  private:
66 
67 
68  };//class LevelRiesz
69 
70 }// namespace hp1D
71 
72 #endif //levelRiesz_hh
void operator()(const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
const concepts::ElementFormulaContainer< Real > levelFunction_
const concepts::ElementFormulaContainer< Real2d > levelFunctionGrad_
Point< Real, 2 > Real2d
~LevelRieszElement()
Destructor.
Abstract class for a linear form.
virtual std::ostream & info(std::ostream &os) const
const concepts::ElementFormulaContainer< Real > observable_
This class creates a linearform corresponding to the local contribution of one cell to the integral:
LevelRieszElement(const hp2D::Element< Real > &elm, const concepts::ElementFormulaContainer< Real > &levelFunction, const concepts::ElementFormulaContainer< Real2d > &levelFunctionGrad, const concepts::ElementFormulaContainer< Real > &observable)
Constructor.
const hp2D::Element< Real > & elm2D_
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
1D hp-FEM
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich