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