Intrepid
Public Member Functions
Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight > Class Template Reference

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

#include <Intrepid_DefaultCubatureFactory.hpp>

List of all members.

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.
Teuchos::RCP< Cubature< Scalar,
ArrayPoint, ArrayWeight > > 
create (const shards::CellTopology &cellTopology, int degree)
 Factory method.
Teuchos::RCP< Cubature< Scalar,
ArrayPoint, ArrayWeight > > 
create (const shards::CellTopology &cellTopology, const ArrayPoint &cellVertices, int degree)
 Factory method for polygon cubature.

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 75 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 main().

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 149 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,
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 140 of file Intrepid_DefaultCubatureFactoryDef.hpp.


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