16 #ifndef __INTREPID2_DEFAULT_CUBATURE_FACTORY_HPP__
17 #define __INTREPID2_DEFAULT_CUBATURE_FACTORY_HPP__
19 #include "Intrepid2_ConfigDefs.hpp"
22 #include "Shards_CellTopology.hpp"
23 #include "Teuchos_RCP.hpp"
31 #include "Intrepid2_CubatureDirectTetSymmetric.hpp"
56 template<
typename DeviceType,
57 typename pointValueType = double,
58 typename weightValueType =
double>
59 static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> >
60 create(
unsigned topologyKey,
61 const std::vector<ordinal_type> °ree,
62 const EPolyType polytype = POLYTYPE_MAX,
63 const bool symmetric =
false );
73 template<
typename DeviceType,
74 typename pointValueType = double,
75 typename weightValueType =
double>
76 static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> >
77 create(
const shards::CellTopology cellTopology,
78 const std::vector<ordinal_type> °ree,
79 const EPolyType polytype = POLYTYPE_MAX,
80 const bool symmetric =
false );
91 template<
typename DeviceType,
92 typename pointValueType = double,
93 typename weightValueType =
double>
94 static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> >
95 create(
unsigned topologyKey,
96 const ordinal_type degree,
97 const EPolyType polytype = POLYTYPE_MAX,
98 const bool symmetric =
false );
108 template<
typename DeviceType,
109 typename pointValueType = double,
110 typename weightValueType =
double>
111 static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> >
112 create(
const shards::CellTopology cellTopology,
113 const ordinal_type degree,
114 const EPolyType polytype = POLYTYPE_MAX,
115 const bool symmetric =
false );
A factory class that generates specific instances of cubatures.
static Teuchos::RCP< Cubature< DeviceType, pointValueType, weightValueType > > create(unsigned topologyKey, const std::vector< ordinal_type > °ree, const EPolyType polytype=POLYTYPE_MAX, const bool symmetric=false)
Factory method.
Header file for the Intrepid2::CubatureDirectTriDefault class.
Header function for Intrepid2::Util class and other utility functions.
Header file for the Intrepid2::CubatureTensorPyr class.
Header file for the Intrepid2::Cubature class.
Header file for the Intrepid2::CubatureDirectLineGauss class.
Header file for the Intrepid2::CubatureDirectTetDefault class.
Header file for the Intrepid2::CubatureDirectTrisymPos class.
Header file for the Intrepid2::CubatureDirectLineGaussJacobi20 class.
Header file for the Intrepid2::CubaturePolylib class.
Definition file for the class Intrepid2::DefaultCubatureFactory.
Header file for the Intrepid2::CubatureTensor class.