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.

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 55 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,
int  degree 
) [inline]

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 118 of file Intrepid_DefaultCubatureFactoryDef.hpp.

References Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create().

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 
) [inline]

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 39 of file Intrepid_DefaultCubatureFactoryDef.hpp.

Referenced by Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create(), and main().


The documentation for this class was generated from the following files:
Generated on Mon Jan 31 09:55:57 2011 for Intrepid by  doxygen 1.6.3