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 SpT , typename PT , typename WT >
Teuchos::RCP< Cubature< SpT,
PT, WT > > 
create (unsigned topologyKey, const std::vector< ordinal_type > &degree, const EPolyType polytype)
 
template<typename SpT , typename PT , typename WT >
Teuchos::RCP< Cubature< SpT,
PT, WT > > 
create (const shards::CellTopology cellTopology, const std::vector< ordinal_type > &degree, const EPolyType polytype)
 
template<typename SpT , typename PT , typename WT >
Teuchos::RCP< Cubature< SpT,
PT, WT > > 
create (unsigned topologyKey, const ordinal_type degree, const EPolyType polytype)
 
template<typename SpT , typename PT , typename WT >
Teuchos::RCP< Cubature< SpT,
PT, WT > > 
create (const shards::CellTopology cellTopology, const ordinal_type degree, const EPolyType polytype)
 

Static Public Member Functions

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

Detailed Description

A factory class that generates specific instances of cubatures.

Definition at line 76 of file Intrepid2_DefaultCubatureFactory.hpp.

Member Function Documentation

template<typename ExecSpaceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<ExecSpaceType,pointValueType,weightValueType> > Intrepid2::DefaultCubatureFactory::create ( unsigned  topologyKey,
const std::vector< ordinal_type > &  degree,
const EPolyType  polytype = POLYTYPE_MAX 
)
static
template<typename ExecSpaceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<ExecSpaceType,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.
template<typename ExecSpaceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<ExecSpaceType,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.
template<typename ExecSpaceType , typename pointValueType = double, typename weightValueType = double>
static Teuchos::RCP<Cubature<ExecSpaceType,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.

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