oomph::Gauss< 2, 2 > Class Reference

2D Gaussian integration class. 2x2 integration points. This integration scheme can integrate up to third-order polynomials exactly and is therefore a suitable "full" integration scheme for linear (four-node) elements in which the highest-order polynomial is quadratic. More...

`#include <integral.h>`

Inheritance diagram for oomph::Gauss< 2, 2 >:

## Public Member Functions

Gauss ()
Default constructor (empty) More...

Gauss (const Gauss &dummy)=delete
Broken copy constructor. More...

void operator= (const Gauss &)=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][2]
Array to hold the weight and know points (defined in cc file) More...

static const double Weight [4] = {1.0, 1.0, 1.0, 1.0}

## Detailed Description

2D Gaussian integration class. 2x2 integration points. This integration scheme can integrate up to third-order polynomials exactly and is therefore a suitable "full" integration scheme for linear (four-node) elements in which the highest-order polynomial is quadratic.

Definition at line 296 of file integral.h.

## ◆ Gauss() [1/2]

 oomph::Gauss< 2, 2 >::Gauss ( )
inline

Default constructor (empty)

Definition at line 306 of file integral.h.

## ◆ Gauss() [2/2]

 oomph::Gauss< 2, 2 >::Gauss ( const Gauss< 2, 2 > & dummy )
delete

Broken copy constructor.

## ◆ knot()

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

Definition at line 321 of file integral.h.

References i.

## ◆ nweight()

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

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 315 of file integral.h.

## ◆ operator=()

 void oomph::Gauss< 2, 2 >::operator= ( const Gauss< 2, 2 > & )
delete

Broken assignment operator.

## ◆ weight()

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

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 327 of file integral.h.

References i.

## ◆ Knot

 const double oomph::Gauss< 2, 2 >::Knot
staticprivate
Initial value:
= {
{-0.577350269189626, -0.577350269189626},
{-0.577350269189626, 0.577350269189626},
{0.577350269189626, -0.577350269189626},
{0.577350269189626, 0.577350269189626}}

Array to hold the weight and know points (defined in cc file)

Definition at line 302 of file integral.h.

## ◆ Npts

 const unsigned oomph::Gauss< 2, 2 >::Npts = 4
staticprivate

Number of integration points in the scheme.

Definition at line 300 of file integral.h.

## ◆ Weight

 const double oomph::Gauss< 2, 2 >::Weight = {1.0, 1.0, 1.0, 1.0}
staticprivate

Definition at line 302 of file integral.h.

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