Intrepid
|
Defines direct integration rules on a tetrahedron. More...
#include <Intrepid_CubatureDirectTetDefault.hpp>
Public Types | |
enum | { INTREPID_CUBATURE_TET_DEFAULT_MAX_ENUM = INTREPID_CUBATURE_TET_DEFAULT_MAX } |
Public Member Functions | |
CubatureDirectTetDefault (const int degree=0) | |
Constructor. | |
const char * | getName () const |
Returns cubature name. | |
const CubatureTemplate * | exposeCubatureData () const |
Exposes cubature data. | |
int | getMaxAccuracy () const |
Returns maximum cubature accuracy. | |
![]() | |
virtual void | getCubatureData (ArrayPoint &cubPoints, ArrayWeight &cubWeights, const CubatureTemplate *cubData) const |
Extracts points and weights from cubData. | |
virtual void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). | |
virtual void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellCoords) const |
Returns cubature points and weights. Method for physical space cubature, throws an exception. | |
virtual int | getNumPoints () const |
Returns the number of cubature points. | |
virtual int | getDimension () const |
Returns dimension of integration domain. | |
virtual void | getAccuracy (std::vector< int > &accuracy) const |
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1. | |
virtual const char * | getName () const =0 |
Returns cubature name. | |
virtual const CubatureTemplate * | exposeCubatureData () const =0 |
Exposes cubature data. | |
virtual int | getMaxAccuracy () const =0 |
Returns maximum cubature accuracy. | |
virtual void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const =0 |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). | |
virtual void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellVertices) const =0 |
Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated). | |
virtual int | getNumPoints () const =0 |
Returns the number of cubature points. | |
virtual int | getDimension () const =0 |
Returns dimension of the integration domain. | |
virtual void | getAccuracy (std::vector< int > &accuracy) const =0 |
Returns algebraic accuracy (e.g. max. degree of polynomial that is integrated exactly). For tensor-product or sparse rules, algebraic accuracy for each coordinate direction is returned. | |
Static Public Member Functions | |
static const CubatureTemplate(& | exposeCubatureDataStatic ())[INTREPID_CUBATURE_TET_DEFAULT_MAX_ENUM+1] |
Exposes cubature data, accessible without construction. | |
Static Private Attributes | |
static const CubatureTemplate | cubature_data_ [INTREPID_CUBATURE_TET_DEFAULT_MAX_ENUM+1] |
Complete set of data defining default cubature rules on a tetrahedron. | |
static const char * | cubature_name_ = "INTREPID_CUBATURE_TET_DEFAULT" |
Names of templates for frequently used direct cubature rules. | |
Additional Inherited Members | |
![]() | |
int | degree_ |
The degree of polynomials that are integrated exactly by this cubature rule. | |
int | dimension_ |
Dimension of integration domain. | |
Defines direct integration rules on a tetrahedron.
Definition at line 71 of file Intrepid_CubatureDirectTetDefault.hpp.
anonymous enum |
Definition at line 75 of file Intrepid_CubatureDirectTetDefault.hpp.
|
inline |
Definition at line 89 of file Intrepid_CubatureDirectTetDefault.hpp.
Intrepid::CubatureDirectTetDefault< Scalar, ArrayPoint, ArrayWeight >::CubatureDirectTetDefault | ( | const int | degree = 0 | ) |
Constructor.
degree | [in] - The degree of polynomials that are integrated exactly by this cubature rule. Default: 0. |
Definition at line 52 of file Intrepid_CubatureDirectTetDefaultDef.hpp.
|
virtual |
Exposes cubature data.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 63 of file Intrepid_CubatureDirectTetDefaultDef.hpp.
|
virtual |
Returns maximum cubature accuracy.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 70 of file Intrepid_CubatureDirectTetDefaultDef.hpp.
|
virtual |
Returns cubature name.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 77 of file Intrepid_CubatureDirectTetDefaultDef.hpp.
|
staticprivate |
Complete set of data defining default cubature rules on a tetrahedron.
Definition at line 80 of file Intrepid_CubatureDirectTetDefault.hpp.
|
staticprivate |
Names of templates for frequently used direct cubature rules.
Definition at line 84 of file Intrepid_CubatureDirectTetDefault.hpp.