karniadakisnew.hh

Go to the documentation of this file.
1 
10 #ifndef karniadakisnew_hh
11 #define karniadakisnew_hh
12 
13 #include <iostream>
14 #include "basics/typedefs.hh"
15 #include "quadRule.hh"
16 #include "shapefunction.hh"
17 #include "toolbox/flyweight.hh"
18 
19 namespace concepts
20 {
21  template<int type, int mode>
22  class KarniadakisNew : public ShapeFunction1D<Real> {
23  public:
34  KarniadakisNew(const int P, const QuadratureRule1d& quadrature,
35  const int Q=0, const int R=0);
36 
47  KarniadakisNew(const int P, const Array<Real>& abscissas,
48  const int Q=0, const int R=0);
49 
55 
58 
59  protected:
72  void init(const int P, const Real* xPoints, const int NxP, const int Q, const int R);
73 
74  };
75 
76 }
77 
78 #endif //karniadakisnew_hh
void init(const int P, const Real *xPoints, const int NxP, const int Q, const int R)
Computes the values of the principal function of the given order and in the given points.
KarniadakisNew(const int P, const Array< Real > &abscissas, const int Q=0, const int R=0)
Constructor.
KarniadakisNew(const int P, const QuadratureRule1d &quadrature, const int Q=0, const int R=0)
Constructor.
KarniadakisNew(const KarniadakisNew< type, mode > &Other)
Copy constructor.
~KarniadakisNew()
Destructor.
Quadrature rule for numerical integration.
Definition: quadRule.hh:30
Abstract class for 1D shape function.
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