Intrepid::DefaultCubatureFactory< Scalar, ArrayType > 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,
ArrayType > > 
create (const shards::CellTopology &cellTopology, const std::vector< int > &degree)
 Factory method.
Teuchos::RCP< Cubature< Scalar,
ArrayType > > 
create (const shards::CellTopology &cellTopology, int degree)
 Factory method.

Detailed Description

template<class Scalar, class ArrayType = FieldContainer<Scalar>>
class Intrepid::DefaultCubatureFactory< Scalar, ArrayType >

A factory class that generates specific instances of cubatures.

Definition at line 59 of file Intrepid_DefaultCubatureFactory.hpp.


Member Function Documentation

template<class Scalar , class ArrayType >
Teuchos::RCP< Cubature< Scalar, ArrayType > > Intrepid::DefaultCubatureFactory< Scalar, ArrayType >::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, ArrayType >::create().

template<class Scalar , class ArrayType >
Teuchos::RCP< Cubature< Scalar, ArrayType > > Intrepid::DefaultCubatureFactory< Scalar, ArrayType >::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, ArrayType >::create(), and main().


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

Generated on Tue Oct 20 15:10:11 2009 for Intrepid by  doxygen 1.6.1