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

1D Gaussian integration class for cubic "triangular" elements. Four integration points. This integration scheme can integrate up to seventh-order polynomials exactly and is therefore a suitable "full" integration scheme for cubic (ten-node) elements in which the highest-order polynomial is sixth order. More...

#include <integral.h>

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

Public Member Functions

 TGauss ()
 Default constructor (empty) More...
 
 TGauss (const TGauss &dummy)=delete
 Broken copy constructor. More...
 
void operator= (const TGauss &)=delete
 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)=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...
 

Static Private Attributes

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

Detailed Description

1D Gaussian integration class for cubic "triangular" elements. Four integration points. This integration scheme can integrate up to seventh-order polynomials exactly and is therefore a suitable "full" integration scheme for cubic (ten-node) elements in which the highest-order polynomial is sixth order.

Definition at line 733 of file integral.h.

Constructor & Destructor Documentation

◆ TGauss() [1/2]

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

Default constructor (empty)

Definition at line 743 of file integral.h.

◆ TGauss() [2/2]

oomph::TGauss< 1, 4 >::TGauss ( const TGauss< 1, 4 > &  dummy)
delete

Broken copy constructor.

Member Function Documentation

◆ knot()

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

Definition at line 758 of file integral.h.

References i.

◆ nweight()

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

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 752 of file integral.h.

◆ operator=()

void oomph::TGauss< 1, 4 >::operator= ( const TGauss< 1, 4 > &  )
delete

Broken assignment operator.

◆ weight()

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

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 764 of file integral.h.

References i.

Member Data Documentation

◆ Knot

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

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

Definition at line 739 of file integral.h.

◆ Npts

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

Number of integration points in the scheme.

Definition at line 737 of file integral.h.

◆ Weight

const double oomph::TGauss< 1, 4 >::Weight
staticprivate
Initial value:
= {0.5 * 0.347854845137448,
0.5 * 0.652145154862546,
0.5 * 0.652145154862546,
0.5 * 0.347854845137448}

Definition at line 739 of file integral.h.


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