oomph::PointIntegral Class Reference

#include <integral.h>

+ Inheritance diagram for oomph::PointIntegral:

Public Member Functions

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

Detailed Description

Broken pseudo-integration scheme for points elements: Iit's not clear in general what this integration scheme is supposed to. It probably ought to evaluate integrals to zero but we're not sure in what context this may be used. Replace by your own integration scheme that does what you want!

Constructor & Destructor Documentation

◆ PointIntegral() [1/2]

oomph::PointIntegral::PointIntegral ( )
inline

Default constructor (empty)

92 {};

◆ PointIntegral() [2/2]

oomph::PointIntegral::PointIntegral ( const PointIntegral dummy)
delete

Broken copy constructor.

Member Function Documentation

◆ knot()

double oomph::PointIntegral::knot ( const unsigned i,
const unsigned j 
) const
inlinevirtual

Return coordinate s[j] (j=0) of integration point i – deliberately broken!

Implements oomph::Integral.

109  {
110  throw OomphLibError("Local coordinate vector is of size zero, so this "
111  "should never be called.",
114 
115  // Dummy return
116  return 0.0;
117  }
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86

References OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.

◆ nweight()

unsigned oomph::PointIntegral::nweight ( ) const
inlinevirtual

Number of integration points of the scheme.

Implements oomph::Integral.

102  {
103  return 1;
104  }

◆ operator=()

void oomph::PointIntegral::operator= ( const PointIntegral )
delete

Broken assignment operator.

◆ weight()

double oomph::PointIntegral::weight ( const unsigned i) const
inlinevirtual

Return weight of integration point i.

Implements oomph::Integral.

121  {
122  return 1.0;
123  }

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