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>
112 CubaturePolylib(
int degree = 0, EIntrepidPLPoly pt_type = PL_GAUSS, Scalar alpha = 0.0, Scalar beta = 0.0);
122 ArrayWeight & cubWeights)
const;
132 ArrayWeight& cubWeights,
133 ArrayPoint& cellCoords)
const;
146 void getAccuracy(std::vector<int> & accuracy)
const;
161 #if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
163 #warning "The Intrepid package is deprecated"
void getAccuracy(std::vector< int > &accuracy) const
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1...
int dimension_
Dimension of integration domain.
EIntrepidPLPoly poly_type_
Type of integration points.
Scalar alpha_
Jacobi parameter alpha.
virtual int getDimension() const
Returns dimension of integration domain.
void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
Definition file for the Intrepid::CubaturePolylib class.
int getNumPoints() const
Returns the number of cubature points.
Utilizes cubature (integration) rules contained in the library Polylib (Spencer Sherwin, Aeronautics, Imperial College London) within Intrepid.
CubaturePolylib(int degree=0, EIntrepidPLPoly pt_type=PL_GAUSS, Scalar alpha=0.0, Scalar beta=0.0)
Constructor.
Scalar beta_
Jacobi parameter beta.
int degree_
The degree of polynomials that are integrated exactly by this cubature rule.
const char * getName() const
Returns cubature name.
Defines the base class for cubature (integration) rules in Intrepid.
Header file for the Intrepid::Cubature class.
static const char * cubature_name_
Cubature name.
Header file for a set of functions providing orthogonal polynomial polynomial calculus and interpolat...