49 #ifndef INTREPID_CUBATURE_TENSOR_HPP 50 #define INTREPID_CUBATURE_TENSOR_HPP 52 #include "Intrepid_ConfigDefs.hpp" 55 #include "Teuchos_Assert.hpp" 63 template<
class Scalar,
class ArrayPo
int = FieldContainer<Scalar>,
class ArrayWeight = ArrayPo
int>
78 std::vector< Teuchos::RCP<Cubature<Scalar,ArrayPoint,ArrayWeight> > >
cubatures_;
123 ArrayWeight & cubWeights)
const;
133 ArrayWeight& cubWeights,
134 ArrayPoint& cellCoords)
const;
147 virtual void getAccuracy(std::vector<int> & degree)
const;
std::vector< int > degree_
Degree of polynomials that are integrated exactly by each cubature rule within the tensor product...
virtual int getDimension() const
Returns dimension of integration domain.
virtual int getNumPoints() const
Returns the number of cubature points.
int dimension_
Dimension of integration domain.
virtual void getAccuracy(std::vector< int > °ree) const
Returns max. degree of polynomials that are integrated exactly. The return vector has the size of the...
virtual void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
CubatureTensor(std::vector< Teuchos::RCP< Cubature< Scalar, ArrayPoint, ArrayWeight > > > cubatures)
Constructor.
std::vector< Teuchos::RCP< Cubature< Scalar, ArrayPoint, ArrayWeight > > > cubatures_
Array of cubature rules, stored as FieldContainers.
Header file for the Intrepid::CubatureDirect class.
Definition file for the Intrepid::CubatureTensor class.
Defines the base class for cubature (integration) rules in Intrepid.
Defines tensor-product cubature (integration) rules in Intrepid.
Header file for the Intrepid::Cubature class.
Defines direct cubature (integration) rules in Intrepid.