49 #ifndef __INTREPID2_CUBATURE_HPP__
50 #define __INTREPID2_CUBATURE_HPP__
52 #include "Intrepid2_ConfigDefs.hpp"
119 template<
typename ExecSpaceType = void,
120 typename pointValueType = double,
121 typename weightValueType =
double>
125 typedef Kokkos::DynRankView<pointValueType,Kokkos::LayoutStride,ExecSpaceType> pointViewType;
126 typedef Kokkos::DynRankView<weightValueType,Kokkos::LayoutStride,ExecSpaceType> weightViewType;
137 weightViewType cubWeights )
const {
138 INTREPID2_TEST_FOR_EXCEPTION(
true, std::logic_error,
139 ">>> ERROR (Cubature::getCubature): this method should be over-riden by derived classes.");
152 weightViewType cubWeights,
153 pointViewType cellVertices)
const {
154 INTREPID2_TEST_FOR_EXCEPTION(
true, std::logic_error,
155 ">>> ERROR (Cubature::getCubature): this method should be over-riden by derived classes.");
163 INTREPID2_TEST_FOR_WARNING(
true,
164 ">>> ERROR (Cubature::getNumPoints): this method should be over-riden by derived classes.");
174 INTREPID2_TEST_FOR_WARNING(
true,
175 ">>> ERROR (Cubature::getDimension): this method should be over-riden by derived classes.");
184 INTREPID2_TEST_FOR_WARNING(
true,
185 ">>> ERROR (Cubature::getDimension): this method should be over-riden by derived classes.");