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

#include <integral.h>

+ Inheritance diagram for oomph::TGauss< 1, 2 >:

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 =2
 Number of integration points in the scheme. More...
 
static const double Knot [2][1]
 Array to hold the weights and knots (defined in cc file) More...
 
static const double Weight [2] ={0.5,0.5}
 

Detailed Description

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

1D Gaussian integration class for linear "triangular" elements. Two integration points. This integration scheme can integrate up to second-order polynomials exactly and is therefore a suitable "full" integration scheme for linear (two-node) elements in which the highest-order polynomial is quadratic.

Definition at line 682 of file integral.h.

Constructor & Destructor Documentation

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

Default constructor (empty)

Definition at line 696 of file integral.h.

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

Broken copy constructor.

Definition at line 699 of file integral.h.

References oomph::BrokenCopy::broken_copy().

Member Function Documentation

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

Definition at line 714 of file integral.h.

References i.

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

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 711 of file integral.h.

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

Broken assignment operator.

Definition at line 705 of file integral.h.

References oomph::BrokenCopy::broken_assign().

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

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 718 of file integral.h.

References i.

Member Data Documentation

const double oomph::TGauss< 1, 2 >::Knot
staticprivate
Initial value:
=
{{0.5*(-0.577350269189626+1.0)},{0.5*(0.577350269189626+1.0)}}

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

Definition at line 690 of file integral.h.

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

Number of integration points in the scheme.

Definition at line 687 of file integral.h.

const double oomph::TGauss< 1, 2 >::Weight ={0.5,0.5}
staticprivate

Definition at line 690 of file integral.h.


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