oomph::Gauss< 2, 3 > Class Reference

#include <integral.h>

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

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 s[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< doubleknot (const unsigned &i) const
 Return local coordinates of i-th intergration point. Broken virtual. More...
 

Static Private Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Gauss() [1/2]

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

Default constructor (empty)

352 {};

◆ Gauss() [2/2]

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

Broken copy constructor.

Member Function Documentation

◆ knot()

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

Return coordinate s[j] of integration point i.

Implements oomph::Integral.

368  {
369  return Knot[i][j];
370  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
static const double Knot[9][2]
Array to hold the weights and knots (defined in cc file)
Definition: integral.h:348
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2

References i, and j.

◆ nweight()

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

Number of integration points of the scheme.

Implements oomph::Integral.

362  {
363  return Npts;
364  }
static const unsigned Npts
Number of integration points in the scheme.
Definition: integral.h:346

◆ operator=()

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

Broken assignment operator.

◆ weight()

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

Return weight of integration point i.

Implements oomph::Integral.

374  {
375  return Weight[i];
376  }
static const double Weight[9]
Definition: integral.h:348

References i, and ProblemParameters::Weight.

Member Data Documentation

◆ Knot

const double oomph::Gauss< 2, 3 >::Knot
staticprivate
Initial value:
= {
{-0.774596669241483, -0.774596669241483},
{-0.774596669241483, 0.0},
{-0.774596669241483, 0.774596662941483},
{0.0, -0.774596669241483},
{0.0, 0.0},
{0.0, 0.774596662941483},
{0.774596662941483, -0.774596669241483},
{0.774596662941483, 0.0},
{0.774596662941483, 0.774596662941483}}

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

◆ Npts

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

Number of integration points in the scheme.

◆ Weight

const double oomph::Gauss< 2, 3 >::Weight
staticprivate
Initial value:
= {(25.0 / 81.0),
(40.0 / 81.0),
(25.0 / 81.0),
(40.0 / 81.0),
(64.0 / 81.0),
(40.0 / 81.0),
(25.0 / 81.0),
(40.0 / 81.0),
(25.0 / 81.0)}

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