sumfact.hh

Go to the documentation of this file.
1 
6 #ifndef sumfact_hh
7 #define sumfact_hh
8 
9 #include "toolbox/array.hh"
10 
11 namespace concepts {
12 
13  // forward declarations
14  template<typename T>
15  class ElementMatrix;
16 
17 } // namespace concepts
18 
19 namespace hp2D {
20 
21  using concepts::Real;
22 
23  // forward declarations
24  template<typename F>
25  class ShapeFunction2D;
26 
27  // ****************************************************** SumFactorization **
28 
36  template<typename F = Real>
38  public:
50  template<typename T>
52  const concepts::Array<F>& jacobian,
53  T* coeff,
54  const ShapeFunction2D<Real>& v,
55  const ShapeFunction2D<Real>& u,
56  const Real factor = 1.0,
57  const bool all = false);
58  private:
61  };
62 
63 } // namespace hp2D
64 
65 
66 #endif // sumfact_hh
void operator()(concepts::ElementMatrix< F > &em, const concepts::Array< F > &jacobian, T *coeff, const ShapeFunction2D< Real > &v, const ShapeFunction2D< Real > &u, const Real factor=1.0, const bool all=false)
Application operator.
concepts::Array< F > sumfact_
Intermediate matrix for sum factorization.
Definition: sumfact.hh:60
2D hp-FEM for H1-conforming elements.
Collecting the data of a 2D shape function in one class.
An array of objects.
Definition: bilinearForm.hh:23
Sum factorization for an element matrix.
Definition: sumfact.hh:37
Element matrix.
Definition: linearForm.hh:18
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
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