|
Intrepid
|
Defines direct integration rules on a triangle. More...
#include <Intrepid_CubatureDirectTriDefault.hpp>
Public Types | |
| enum | { INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM = INTREPID_CUBATURE_TRI_DEFAULT_MAX } |
Public Member Functions | |
| CubatureDirectTriDefault (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. | |
Public Member Functions inherited from Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight > | |
| 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. | |
Static Public Member Functions | |
| static const CubatureTemplate(& | exposeCubatureDataStatic ())[INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1] |
| Exposes cubature data, accessible without construction. | |
Static Private Attributes | |
| static const CubatureTemplate | cubature_data_ [INTREPID_CUBATURE_TRI_DEFAULT_MAX_ENUM+1] |
| Complete set of data defining default cubature rules on a triangle. | |
| static const char * | cubature_name_ = "INTREPID_CUBATURE_TRI_DEFAULT" |
| Names of templates for frequently used direct cubature rules. | |
Additional Inherited Members | |
Protected Attributes inherited from Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight > | |
| 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 triangle.
Definition at line 71 of file Intrepid_CubatureDirectTriDefault.hpp.
| anonymous enum |
Definition at line 75 of file Intrepid_CubatureDirectTriDefault.hpp.
|
inline |
Definition at line 89 of file Intrepid_CubatureDirectTriDefault.hpp.
| Intrepid::CubatureDirectTriDefault< Scalar, ArrayPoint, ArrayWeight >::CubatureDirectTriDefault | ( | 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_CubatureDirectTriDefaultDef.hpp.
|
virtual |
Exposes cubature data.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 63 of file Intrepid_CubatureDirectTriDefaultDef.hpp.
|
virtual |
Returns maximum cubature accuracy.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 70 of file Intrepid_CubatureDirectTriDefaultDef.hpp.
|
virtual |
Returns cubature name.
Implements Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 77 of file Intrepid_CubatureDirectTriDefaultDef.hpp.
|
staticprivate |
Complete set of data defining default cubature rules on a triangle.
Definition at line 80 of file Intrepid_CubatureDirectTriDefault.hpp.
|
staticprivate |
Names of templates for frequently used direct cubature rules.
Definition at line 84 of file Intrepid_CubatureDirectTriDefault.hpp.