49 #ifndef INTREPID_CUBATURE_DIRECT_HPP
50 #define INTREPID_CUBATURE_DIRECT_HPP
52 #include "Intrepid_ConfigDefs.hpp"
54 #include "Teuchos_Assert.hpp"
75 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
105 ArrayWeight & cubWeights,
106 const CubatureTemplate * cubData)
const;
115 ArrayWeight & cubWeights)
const;
125 ArrayWeight& cubWeights,
126 ArrayPoint& cellCoords)
const;
139 virtual void getAccuracy(std::vector<int> & accuracy)
const;
143 virtual const char*
getName()
const = 0;
virtual void getCubatureData(ArrayPoint &cubPoints, ArrayWeight &cubWeights, const CubatureTemplate *cubData) const
Extracts points and weights from cubData.
virtual const char * getName() const =0
Returns cubature name.
virtual void getAccuracy(std::vector< int > &accuracy) const
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1...
virtual void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
virtual const CubatureTemplate * exposeCubatureData() const =0
Exposes cubature data.
int degree_
The degree of polynomials that are integrated exactly by this cubature rule.
virtual int getNumPoints() const
Returns the number of cubature points.
int dimension_
Dimension of integration domain.
virtual int getMaxAccuracy() const =0
Returns maximum cubature accuracy.
virtual int getDimension() const
Returns dimension of integration domain.
Definition file for the Intrepid::CubatureDirect class.
Defines the base class for cubature (integration) rules in Intrepid.
Header file for the Intrepid::Cubature class.
Defines direct cubature (integration) rules in Intrepid.