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

#include <integral.h>

+ Inheritance diagram for oomph::TGauss< 3, 3 >:

Public Member Functions

 TGauss ()
 Default constructor (empty) More...
 
 TGauss (const TGauss &dummy)
 Broken copy constructor. More...
 
void operator= (const TGauss &)
 Broken assignment operator. More...
 
unsigned nweight () const
 Number of integration points of the scheme. More...
 
double knot (const unsigned &i, const unsigned &j) const
 Return coordinate x[j] 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...
 

Static Private Attributes

static const unsigned Npts =11
 Number of integration points in the scheme. More...
 
static const double Knot [11][3]
 Array to hold the weights and knots (defined in cc file) More...
 
static const double Weight [11]
 

Detailed Description

template<>
class oomph::TGauss< 3, 3 >

3D Gaussian integration class for tets. Eleven integration points. This integration scheme can integrate up to fourth-order polynomials exactly and is therefore a suitable "full" integration scheme for quadratic (ten-node) elements in which the highest-order polynomial is fourth order. The numbers are from Keast CMAME 55 pp339-348 (1986)

Definition at line 1151 of file integral.h.

Constructor & Destructor Documentation

oomph::TGauss< 3, 3 >::TGauss ( )
inline

Default constructor (empty)

Definition at line 1164 of file integral.h.

oomph::TGauss< 3, 3 >::TGauss ( const TGauss< 3, 3 > &  dummy)
inline

Broken copy constructor.

Definition at line 1167 of file integral.h.

References oomph::BrokenCopy::broken_copy().

Member Function Documentation

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

Definition at line 1182 of file integral.h.

References i.

unsigned oomph::TGauss< 3, 3 >::nweight ( ) const
inlinevirtual

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 1179 of file integral.h.

void oomph::TGauss< 3, 3 >::operator= ( const TGauss< 3, 3 > &  )
inline

Broken assignment operator.

Definition at line 1173 of file integral.h.

References oomph::BrokenCopy::broken_assign().

double oomph::TGauss< 3, 3 >::weight ( const unsigned &  i) const
inlinevirtual

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 1186 of file integral.h.

References i.

Member Data Documentation

const double oomph::TGauss< 3, 3 >::Knot
staticprivate
Initial value:
={
{0.25,0.25,0.25},
{0.785714285714286,0.071428571428571,0.071428571428571},
{0.071428571428571,0.071428571428571,0.071428571428571},
{0.071428571428571,0.785714285714286,0.071428571428571},
{0.071428571428571,0.071428571428571,0.785714285714286},
{0.399403576166799,0.399403576166799,0.100596423833201},
{0.399403576166799,0.100596423833201,0.399403576166799},
{0.100596423833201,0.399403576166799,0.399403576166799},
{0.399403576166799,0.100596423833201,0.100596423833201},
{0.100596423833201,0.399403576166799,0.100596423833201},
{0.100596423833201,0.100596423833201,0.399403576166799}}

Array to hold the weights and knots (defined in cc file)

Definition at line 1158 of file integral.h.

const unsigned oomph::TGauss< 3, 3 >::Npts =11
staticprivate

Number of integration points in the scheme.

Definition at line 1156 of file integral.h.

const double oomph::TGauss< 3, 3 >::Weight
staticprivate
Initial value:
={
-0.01315555555556,
0.00762222222222,
0.00762222222222,
0.00762222222222,
0.00762222222222,
0.02488888888889,
0.02488888888889,
0.02488888888889,
0.02488888888889,
0.02488888888889,
0.02488888888889
}

Definition at line 1158 of file integral.h.


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