Intrepid
Public Member Functions | List of all members
Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight > Class Template Reference

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

#include <Intrepid_DefaultCubatureFactory.hpp>

Public Member Functions

 DefaultCubatureFactory ()
 Default constructor.
 
virtual ~DefaultCubatureFactory ()
 Destructor.
 
Teuchos::RCP< Cubature< Scalar,
ArrayPoint, ArrayWeight > > 
create (const shards::CellTopology &cellTopology, const std::vector< int > &degree)
 Factory method. More...
 
Teuchos::RCP< Cubature< Scalar,
ArrayPoint, ArrayWeight > > 
create (const shards::CellTopology &cellTopology, int degree)
 Factory method. More...
 
Teuchos::RCP< Cubature< Scalar,
ArrayPoint, ArrayWeight > > 
create (const shards::CellTopology &cellTopology, const ArrayPoint &cellVertices, int degree)
 Factory method for polygon cubature. More...
 

Detailed Description

template<class Scalar, class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
class Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >

A factory class that generates specific instances of cubatures.

Definition at line 77 of file Intrepid_DefaultCubatureFactory.hpp.

Member Function Documentation

template<class Scalar , class ArrayPoint , class ArrayWeight >
Teuchos::RCP< Cubature< Scalar, ArrayPoint, ArrayWeight > > Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create ( const shards::CellTopology &  cellTopology,
const std::vector< int > &  degree 
)

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.

Definition at line 53 of file Intrepid_DefaultCubatureFactoryDef.hpp.

Referenced by Intrepid::CubatureControlVolume< Scalar, ArrayPoint, ArrayWeight >::getCubature(), and main().

template<class Scalar , class ArrayPoint , class ArrayWeight >
Teuchos::RCP< Cubature< Scalar, ArrayPoint, ArrayWeight > > Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create ( const shards::CellTopology &  cellTopology,
int  degree 
)

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.

Definition at line 154 of file Intrepid_DefaultCubatureFactoryDef.hpp.

template<class Scalar , class ArrayPoint , class ArrayWeight >
Teuchos::RCP< Cubature< Scalar, ArrayPoint, ArrayWeight > > Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create ( const shards::CellTopology &  cellTopology,
const ArrayPoint &  cellVertices,
int  degree 
)

Factory method for polygon cubature.

Parameters
cellTopology[in] - Cell topology
cellVertices[in] - Vertices of physical cell
degree[in] - A single polynomial degree used for all triangles in tessalation
Returns
  • RCP to cubature with given specifications.

Definition at line 163 of file Intrepid_DefaultCubatureFactoryDef.hpp.


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