Intrepid2
Public Member Functions | Static Public Member Functions | List of all members
Intrepid2::DefaultCubatureFactory Class Reference

A factory class that generates specific instances of cubatures. More...

#include <Intrepid2_DefaultCubatureFactory.hpp>

Public Member Functions

template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT,
WT > > 
create (unsigned topologyKey, const std::vector< ordinal_type > &degree, const EPolyType polytype, const bool symmetric)
 
template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT,
WT > > 
create (const shards::CellTopology cellTopology, const std::vector< ordinal_type > &degree, const EPolyType polytype, const bool symmetric)
 
template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT,
WT > > 
create (unsigned topologyKey, const ordinal_type degree, const EPolyType polytype, const bool symmetric)
 
template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT,
WT > > 
create (const shards::CellTopology cellTopology, const ordinal_type degree, const EPolyType polytype, const bool symmetric)
 

Static Public Member Functions

template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP< Cubature
< DeviceType, pointValueType,
weightValueType > > 
create (unsigned topologyKey, const std::vector< ordinal_type > &degree, const EPolyType polytype=POLYTYPE_MAX, const bool symmetric=false)
 Factory method. More...
 
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP< Cubature
< DeviceType, pointValueType,
weightValueType > > 
create (const shards::CellTopology cellTopology, const std::vector< ordinal_type > &degree, const EPolyType polytype=POLYTYPE_MAX, const bool symmetric=false)
 Factory method. More...
 
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP< Cubature
< DeviceType, pointValueType,
weightValueType > > 
create (unsigned topologyKey, const ordinal_type degree, const EPolyType polytype=POLYTYPE_MAX, const bool symmetric=false)
 Factory method. More...
 
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP< Cubature
< DeviceType, pointValueType,
weightValueType > > 
create (const shards::CellTopology cellTopology, const ordinal_type degree, const EPolyType polytype=POLYTYPE_MAX, const bool symmetric=false)
 Factory method. More...
 

Detailed Description

A factory class that generates specific instances of cubatures.

Definition at line 45 of file Intrepid2_DefaultCubatureFactory.hpp.

Member Function Documentation

template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> > Intrepid2::DefaultCubatureFactory::create ( unsigned  topologyKey,
const std::vector< ordinal_type > &  degree,
const EPolyType  polytype = POLYTYPE_MAX,
const bool  symmetric = false 
)
static
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> > Intrepid2::DefaultCubatureFactory::create ( const shards::CellTopology  cellTopology,
const std::vector< ordinal_type > &  degree,
const EPolyType  polytype = POLYTYPE_MAX,
const bool  symmetric = false 
)
static

Factory method.

Parameters
cell[in] - Cell topology.
degree[in] - Array of polynomial degrees, one for each component cubature.
Returns
  • RCP to cubature with given specifications.
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> > Intrepid2::DefaultCubatureFactory::create ( unsigned  topologyKey,
const ordinal_type  degree,
const EPolyType  polytype = POLYTYPE_MAX,
const bool  symmetric = false 
)
static

Factory method.

Parameters
topologyKey[in] - Key of the cell topology.
degree[in] - A single polynomial degree, used for all component cubatures.
Returns
  • RCP to cubature with given specifications.
template<typename DeviceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<DeviceType,pointValueType,weightValueType> > Intrepid2::DefaultCubatureFactory::create ( const shards::CellTopology  cellTopology,
const ordinal_type  degree,
const EPolyType  polytype = POLYTYPE_MAX,
const bool  symmetric = false 
)
static

Factory method.

Parameters
cell[in] - Cell topology.
degree[in] - A single polynomial degree, used for all component cubatures.
Returns
  • RCP to cubature with given specifications.

The documentation for this class was generated from the following files: