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

#include <integral.h>

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

Public Member Functions

 Gauss ()
 Default constructor (empty) More...
 
 Gauss (const Gauss &dummy)
 Broken copy constructor. More...
 
void operator= (const Gauss &)
 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 =27
 Number of integration points in the scheme. More...
 
static const double Knot [27][3]
 Array to hold the weights and knots (defined in cc file) More...
 
static const double Weight [27] = {0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.43895747599451,0.70233196159122,0.43895747599451,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035}
 

Detailed Description

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

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

Definition at line 517 of file integral.h.

Constructor & Destructor Documentation

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

Default constructor (empty)

Definition at line 530 of file integral.h.

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

Broken copy constructor.

Definition at line 533 of file integral.h.

References oomph::BrokenCopy::broken_copy().

Member Function Documentation

double oomph::Gauss< 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 548 of file integral.h.

References i.

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

Number of integration points of the scheme.

Implements oomph::Integral.

Definition at line 545 of file integral.h.

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

Broken assignment operator.

Definition at line 539 of file integral.h.

References oomph::BrokenCopy::broken_assign().

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

Return weight of integration point i.

Implements oomph::Integral.

Definition at line 552 of file integral.h.

References i.

Member Data Documentation

const double oomph::Gauss< 3, 3 >::Knot
staticprivate
Initial value:
=
{{-0.77459666924148,-0.77459666924148,-0.77459666924148},{-0.77459666924148,-0.77459666924148,0},{-0.77459666924148,-0.77459666924148,0.77459666924148},{-0.77459666924148,0,-0.77459666924148},{-0.77459666924148,0,0},{-0.77459666924148,0,0.77459666924148},{-0.77459666924148,0.77459666924148,-0.77459666924148},{-0.77459666924148,0.77459666924148,0},{-0.77459666924148,0.77459666924148,0.77459666924148},{0,-0.77459666924148,-0.77459666924148},{0,-0.77459666924148,0},{0,-0.77459666924148,0.77459666924148},{0,0,-0.77459666924148},{0,0,0},{0,0,0.77459666924148},{0,0.77459666924148,-0.77459666924148},{0,0.77459666924148,0},{0,0.77459666924148,0.77459666924148},{0.77459666924148,-0.77459666924148,-0.77459666924148},{0.77459666924148,-0.77459666924148,0},{0.77459666924148,-0.77459666924148,0.77459666924148},{0.77459666924148,0,-0.77459666924148},{0.77459666924148,0,0},{0.77459666924148,0,0.77459666924148},{0.77459666924148,0.77459666924148,-0.77459666924148},{0.77459666924148,0.77459666924148,0},{0.77459666924148,0.77459666924148,0.77459666924148}}

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

Definition at line 524 of file integral.h.

const unsigned oomph::Gauss< 3, 3 >::Npts =27
staticprivate

Number of integration points in the scheme.

Definition at line 522 of file integral.h.

const double oomph::Gauss< 3, 3 >::Weight = {0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.43895747599451,0.70233196159122,0.43895747599451,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035,0.27434842249657,0.43895747599451,0.27434842249657,0.17146776406035,0.27434842249657,0.17146776406035}
staticprivate

Definition at line 524 of file integral.h.


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