oomph::TGauss< 2, 4 > Class Reference

#include <integral.h>

+ Inheritance diagram for oomph::TGauss< 2, 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< doubleknot (const unsigned &i) const
 Return local coordinates of i-th intergration point. Broken virtual. More...
 

Static Private Attributes

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

Detailed Description

2D Gaussian integration class for cubic triangles. Thirteen 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.

Constructor & Destructor Documentation

◆ TGauss() [1/2]

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

Default constructor (empty)

923 {};

◆ TGauss() [2/2]

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

Broken copy constructor.

Member Function Documentation

◆ knot()

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

Return coordinate x[j] of integration point i.

Implements oomph::Integral.

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

References i, and j.

◆ nweight()

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

Number of integration points of the scheme.

Implements oomph::Integral.

933  {
934  return Npts;
935  }
static const unsigned Npts
Number of integration points in the scheme.
Definition: integral.h:917

◆ operator=()

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

Broken assignment operator.

◆ weight()

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

Return weight of integration point i.

Implements oomph::Integral.

945  {
946  return Weight[i];
947  }
static const double Weight[13]
Definition: integral.h:919

References i, and ProblemParameters::Weight.

Member Data Documentation

◆ Knot

const double oomph::TGauss< 2, 4 >::Knot
staticprivate
Initial value:
= {{0.0651301029022, 0.0651301029022},
{0.8697397941956, 0.0651301029022},
{0.0651301029022, 0.8697397941956},
{0.3128654960049, 0.0486903154253},
{0.6384441885698, 0.3128654960049},
{0.0486903154253, 0.6384441885698},
{0.6384441885698, 0.0486903154253},
{0.3128654960049, 0.6384441885698},
{0.0486903154253, 0.3128654960049},
{0.2603459660790, 0.2603459660790},
{0.4793080678419, 0.2603459660790},
{0.2603459660790, 0.4793080678419},
{0.3333333333333, 0.3333333333333}}

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

◆ Npts

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

Number of integration points in the scheme.

◆ Weight

const double oomph::TGauss< 2, 4 >::Weight
staticprivate
Initial value:
= {0.5 * 0.0533472356088,
0.5 * 0.0533472356088,
0.5 * 0.0533472356088,
0.5 * 0.0771137608903,
0.5 * 0.0771137608903,
0.5 * 0.0771137608903,
0.5 * 0.0771137608903,
0.5 * 0.0771137608903,
0.5 * 0.0771137608903,
0.5 * 0.1756152574332,
0.5 * 0.1756152574332,
0.5 * 0.1756152574332,
0.5 * -0.1495700444677}

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