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;
160 #if defined(Intrepid_SHOW_DEPRECATED_WARNINGS)
162 #warning "The Intrepid package is deprecated"
std::vector< int > degree_
Degree of polynomials that are integrated exactly by each cubature rule within the tensor product...
int dimension_
Dimension of integration domain.
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.
virtual int getNumPoints() const
Returns the number of cubature points.
Definition file for the Intrepid::CubatureTensor class.
virtual int getDimension() const
Returns dimension of integration domain.
Defines the base class for cubature (integration) rules in Intrepid.
Defines tensor-product cubature (integration) rules in Intrepid.
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...
Header file for the Intrepid::Cubature class.
Defines direct cubature (integration) rules in Intrepid.
virtual void getCubature(ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).