Public Member Functions | Private Attributes | Static Private Attributes | List of all members
oomph::GaussLegendre< 3, NPTS_1D > Class Template Reference

3D Gauss Legendre integration class More...

#include <integral.h>

+ Inheritance diagram for oomph::GaussLegendre< 3, 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)
 Broken copy constructor. More...
 
void operator= (const Integral &)
 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. More...
 

Private Attributes

double Knot [NPTS_1D *NPTS_1D *NPTS_1D][3]
 Array to hold weight and knot points. More...
 
double Weight [NPTS_1D *NPTS_1D *NPTS_1D]
 

Static Private Attributes

static const unsigned long int Npts =NPTS_1D*NPTS_1D*NPTS_1D
 Number of integration points in scheme. More...
 

Detailed Description

template<unsigned NPTS_1D>
class oomph::GaussLegendre< 3, NPTS_1D >

3D Gauss Legendre integration class

Definition at line 1553 of file integral.h.

Constructor & Destructor Documentation

template<unsigned NPTS_1D>
oomph::GaussLegendre< 3, NPTS_1D >::GaussLegendre ( )

Deafault constructor. Calculates and stores GLL nodes.

Calculate positions and weights for the 3D Gauss Legendre integration class

Definition at line 1588 of file integral.h.

References oomph::Orthpoly::gl_nodes(), i, and s.

Member Function Documentation

template<unsigned NPTS_1D>
double oomph::GaussLegendre< 3, NPTS_1D >::knot ( const unsigned &  i,
const unsigned &  j 
) const
inlinevirtual

Return coordinate s[j] (j=0) of integration point i.

Implements oomph::Integral.

Definition at line 1574 of file integral.h.

References i.

template<unsigned NPTS_1D>
unsigned oomph::GaussLegendre< 3, NPTS_1D >::nweight ( ) const
inlinevirtual

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 1571 of file integral.h.

template<unsigned NPTS_1D>
double oomph::GaussLegendre< 3, NPTS_1D >::weight ( const unsigned &  i) const
inlinevirtual

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 1578 of file integral.h.

References i.

Member Data Documentation

template<unsigned NPTS_1D>
double oomph::GaussLegendre< 3, NPTS_1D >::Knot[NPTS_1D *NPTS_1D *NPTS_1D][3]
private

Array to hold weight and knot points.

Definition at line 1561 of file integral.h.

template<unsigned NPTS_1D>
const unsigned long int oomph::GaussLegendre< 3, NPTS_1D >::Npts =NPTS_1D*NPTS_1D*NPTS_1D
staticprivate

Number of integration points in scheme.

Definition at line 1558 of file integral.h.

template<unsigned NPTS_1D>
double oomph::GaussLegendre< 3, NPTS_1D >::Weight[NPTS_1D *NPTS_1D *NPTS_1D]
private

Definition at line 1561 of file integral.h.


The documentation for this class was generated from the following file: