rys.hh

Go to the documentation of this file.
1 
6 #ifndef RYS_HH
7 #define RYS_HH
8 
9 #include <iostream>
10 #include <vector>
11 #include "basics/typedefs.hh"
12 #include "quadRule.hh"
13 #include "shapefunction.hh"
14 
15 namespace concepts {
16 
17  // *********************************************************** Rys ***
18 
22  class Rys final : public ShapeFunction1D<Real> {
23  public:
27  Rys(const Real a,
28  const Real b,
29  const Real alpha,
30  const int p,
31  const QuadratureRule1d& quadrature);
32 
36  Rys(const Real a,
37  const Real b,
38  const Real alpha,
39  const int p,
40  const Array<Real>& abscissas);
41 
42  Rys(const Rys& other);
43 
44  ~Rys() override;
45 
46  protected:
47  virtual std::ostream& info(std::ostream& os) const;
48 
49  void init(Real a, Real b, Real alpha, const Real xP[]);
50  };
51 
52 } // namespace concepts
53 
54 #endif // RYS_HH
Rys(const Real a, const Real b, const Real alpha, const int p, const Array< Real > &abscissas)
Compute Rys polynomials on [a,b] w.r.t.
void init(Real a, Real b, Real alpha, const Real xP[])
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Rys(const Real a, const Real b, const Real alpha, const int p, const QuadratureRule1d &quadrature)
Compute Rys polynomials on [a,b] w.r.t.
Rys(const Rys &other)
Rys shape function basis over an element [a,b].
Definition: rys.hh:22
~Rys() override
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