![]() |
|
2D Gauss Legendre integration class More...
#include <integral.h>
Inheritance diagram for oomph::GaussLegendre< 2, NPTS_1D >:Public Member Functions | |
| GaussLegendre () | |
| Deafault constructor. Calculates and stores GLL nodes. More... | |
| unsigned | nweight () const |
| Number of integration points of the scheme. More... | |
| double | knot (const unsigned &i, const unsigned &j) const |
| Return coordinate s[j] (j=0) of integration point i. More... | |
| double | weight (const unsigned &i) const |
| Return weight of integration point i. More... | |
Public Member Functions inherited from oomph::Integral | |
| Integral () | |
| Default constructor (empty) More... | |
| Integral (const Integral &dummy)=delete | |
| Broken copy constructor. More... | |
| void | operator= (const Integral &)=delete |
| Broken assignment operator. More... | |
| virtual | ~Integral () |
| Virtual destructor (empty) More... | |
| virtual Vector< double > | knot (const unsigned &i) const |
| Return local coordinates of i-th intergration point. Broken virtual. More... | |
Private Attributes | |
| double | Knot [NPTS_1D *NPTS_1D][2] |
| Array to hold weight and knot points. More... | |
| double | Weight [NPTS_1D *NPTS_1D] |
Static Private Attributes | |
| static const unsigned long int | Npts = NPTS_1D * NPTS_1D |
| Number of integration points in scheme. More... | |
2D Gauss Legendre integration class
| oomph::GaussLegendre< 2, NPTS_1D >::GaussLegendre |
Deafault constructor. Calculates and stores GLL nodes.
Calculate positions and weights for the 2D Gauss Legendre integration class
References oomph::Orthpoly::gl_nodes(), i, s, w, and ProblemParameters::Weight.
|
inlinevirtual |
|
inlinevirtual |
Number of integration points of the scheme.
Implements oomph::Integral.
|
inlinevirtual |
Return weight of integration point i.
Implements oomph::Integral.
References i, and ProblemParameters::Weight.
|
private |
Array to hold weight and knot points.
|
staticprivate |
Number of integration points in scheme.
|
private |