Go to the documentation of this file.
49 #ifndef INTREPID_CUBATURE_POLYLIB_HPP
50 #define INTREPID_CUBATURE_POLYLIB_HPP
52 #include "Intrepid_ConfigDefs.hpp"
55 #include "Teuchos_Assert.hpp"
73 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
122 ArrayWeight & cubWeights)
const;
132 ArrayWeight& cubWeights,
133 ArrayPoint& cellCoords)
const;
146 void getAccuracy(std::vector<int> & accuracy)
const;
Header file for the Intrepid::Cubature class.
Defines the base class for cubature (integration) rules in Intrepid.
CubaturePolylib(int degree=0, EIntrepidPLPoly pt_type=PL_GAUSS, Scalar alpha=0.0, Scalar beta=0.0)
Constructor.
const char * getName() const
Returns cubature name.
EIntrepidPLPoly
Enumeration of coordinate frames (reference/ambient) for geometrical entities (cells,...
int degree_
The degree of polynomials that are integrated exactly by this cubature rule.
int dimension_
Dimension of integration domain.
int getNumPoints() const
Returns the number of cubature points.
EIntrepidPLPoly poly_type_
Type of integration points.
static const char * cubature_name_
Cubature name.
virtual int getDimension() const
Returns dimension of integration domain.
Utilizes cubature (integration) rules contained in the library Polylib (Spencer Sherwin,...
Header file for a set of functions providing orthogonal polynomial polynomial calculus and interpolat...
void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
Scalar beta_
Jacobi parameter beta.
Scalar alpha_
Jacobi parameter alpha.
void getAccuracy(std::vector< int > &accuracy) const
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1.
Definition file for the Intrepid::CubaturePolylib class.