arrayElementFormula.hh

Go to the documentation of this file.
1 
6 #ifndef hp3darrayelementformula_hh
7 #define hp3darrayelementformula_hh
8 
9 #include "toolbox/array.hh"
11 
12 
13 namespace hp3D {
14 
15  // forward declarations
16  class Hexahedron;
17 
18  // *************************************************** ArrayElementFormula **
19 
22  template<class F = Real>
24  public:
36  void compute(const Hexahedron& elm,
38  };
39 
40  template<class F>
42 
43  template<class F>
45  (const Hexahedron& elm, const concepts::ElementFormulaContainer<F> frm)
46  : concepts::Array<F>(0)
47  {
48  compute(elm, frm);
49  }
50 
51 
52 } // namespace hp3D
53 
54 #endif // hp3darrayelementformula_hh
A 3D FEM element: a hexahedron.
Definition: hexahedron.hh:37
void compute(const Hexahedron &elm, const concepts::ElementFormulaContainer< F > frm)
Evaluates the formula frm on all quadrature points of element elm.
An array of objects.
Definition: bilinearForm.hh:23
ArrayElementFormula(const Hexahedron &elm, const concepts::ElementFormulaContainer< F > frm)
Constructor with calling of compute.
3D hp-FEM for H1-conforming elements.
Definition: meshDX.hh:23
Array of formula values on quadrature points.
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