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)
 
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)
 
template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT, WT > > create (unsigned topologyKey, const ordinal_type degree, const EPolyType polytype)
 
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)
 

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)
 Factory method.
 
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)
 Factory method.
 
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)
 Factory method.
 
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)
 Factory method.
 

Detailed Description

A factory class that generates specific instances of cubatures.

Definition at line 76 of file Intrepid2_DefaultCubatureFactory.hpp.

Member Function Documentation

◆ create() [1/8]

template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT, WT > > Intrepid2::DefaultCubatureFactory::create ( const shards::CellTopology  cellTopology,
const ordinal_type  degree,
const EPolyType  polytype 
)

Definition at line 183 of file Intrepid2_DefaultCubatureFactoryDef.hpp.

◆ create() [2/8]

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 
)
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.

◆ create() [3/8]

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

Definition at line 162 of file Intrepid2_DefaultCubatureFactoryDef.hpp.

◆ create() [4/8]

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 
)
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.

◆ create() [5/8]

template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT, WT > > Intrepid2::DefaultCubatureFactory::create ( unsigned  topologyKey,
const ordinal_type  degree,
const EPolyType  polytype 
)

Definition at line 172 of file Intrepid2_DefaultCubatureFactoryDef.hpp.

◆ create() [6/8]

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 
)
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.

◆ create() [7/8]

template<typename DT , typename PT , typename WT >
Teuchos::RCP< Cubature< DT, PT, WT > > Intrepid2::DefaultCubatureFactory::create ( unsigned  topologyKey,
const std::vector< ordinal_type > &  degree,
const EPolyType  polytype 
)

Definition at line 57 of file Intrepid2_DefaultCubatureFactoryDef.hpp.

◆ create() [8/8]

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 
)
static

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