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;
void getAccuracy(std::vector< int > &accuracy) const
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1...
EIntrepidPLPoly
Enumeration of coordinate frames (reference/ambient) for geometrical entities (cells, points).
int dimension_
Dimension of integration domain.
EIntrepidPLPoly poly_type_
Type of integration points.
Scalar alpha_
Jacobi parameter alpha.
Definition file for the Intrepid::CubaturePolylib class.
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).
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.
virtual int getDimension() const
Returns dimension of integration domain.
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.
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...