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

#include <integral.h>

+ Inheritance diagram for oomph::TGauss< 2, 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 =7
 Number of integration points in the scheme. More...
 
static const double Knot [7][2]
 Array to hold the weights and knots (defined in cc file) More...
 
static const double Weight [7]
 

Detailed Description

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

2D Gaussian integration class for quadratic triangles. Seven integration points. This integration scheme can integrate up to fifth-order polynomials exactly and is therefore a suitable "full" integration scheme for quadratic (six-node) elements in which the highest-order polynomial is fourth order.

Definition at line 916 of file integral.h.

Constructor & Destructor Documentation

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

Default constructor (empty)

Definition at line 928 of file integral.h.

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

Broken copy constructor.

Definition at line 931 of file integral.h.

References oomph::BrokenCopy::broken_copy().

Member Function Documentation

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

Definition at line 946 of file integral.h.

References i.

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

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 943 of file integral.h.

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

Broken assignment operator.

Definition at line 937 of file integral.h.

References oomph::BrokenCopy::broken_assign().

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

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 950 of file integral.h.

References i.

Member Data Documentation

const double oomph::TGauss< 2, 3 >::Knot
staticprivate
Initial value:
={
{0.1012865073235,0.1012865073235},
{0.7974269853531,0.1012865073235},
{0.1012865073235,0.7974269853531},
{0.4701420641051,0.0597158717898},
{0.4701420641051,0.4701420641051},
{0.0597158717898,0.4701420641051},
{0.3333333333333,0.3333333333333}}

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

Definition at line 923 of file integral.h.

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

Number of integration points in the scheme.

Definition at line 921 of file integral.h.

const double oomph::TGauss< 2, 3 >::Weight
staticprivate
Initial value:
= {
0.5*0.1259391805448,
0.5*0.1259391805448,
0.5*0.1259391805448,
0.5*0.1323941527885,
0.5*0.1323941527885,
0.5*0.1323941527885,
0.5*0.225}

Definition at line 923 of file integral.h.


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