arrayElementFormula.hh

Go to the documentation of this file.
1 
6 #ifndef arrayelementformula_hh
7 #define arrayelementformula_hh
8 
9 #include "toolbox/array.hh"
11 
12 
13 namespace hp2D {
14 
15  // forward declarations
16  template<typename F>
17  class BaseQuad;
18 
19 
20  // *************************************************** ArrayElementFormula **
21 
24  template<class F = Real>
26  public:
38  void compute(const BaseQuad<Real>& elm,
40  };
41 
42  template<class F>
44 
45  template<class F>
48  : concepts::Array<F>(0)
49  {
50  compute(elm, frm);
51  }
52 
53 
54 } // namespace hp2D
55 
56 #endif // arrayelementformula_hh
void compute(const BaseQuad< Real > &elm, const concepts::ElementFormulaContainer< F > frm)
Evaluates the formula frm on all quadrature points of element elm.
Array of formula values on quadrature points.
2D hp-FEM for H1-conforming elements.
An array of objects.
Definition: bilinearForm.hh:23
A base of a 2D quad FEM element for different basis functions.
ArrayElementFormula(const BaseQuad< Real > &elm, const concepts::ElementFormulaContainer< F > frm)
Constructor with calling of compute.
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