Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | List of all members
Stokhos::Quadrature< ordinal_type, value_type > Class Template Referenceabstract

Abstract base class for quadrature methods. More...

#include <Stokhos_Quadrature.hpp>

Inheritance diagram for Stokhos::Quadrature< ordinal_type, value_type >:
Inheritance graph
[legend]

Public Member Functions

 Quadrature ()
 Constructor. More...
 
virtual ~Quadrature ()
 Destructor. More...
 
virtual ordinal_type size () const =0
 Get number of quadrature points. More...
 
virtual const Teuchos::Array
< Teuchos::Array< value_type > > & 
getQuadPoints () const =0
 Get quadrature points. More...
 
virtual const Teuchos::Array
< value_type > & 
getQuadWeights () const =0
 Get quadrature weights. More...
 
virtual const Teuchos::Array
< Teuchos::Array< value_type > > & 
getBasisAtQuadPoints () const =0
 Get values of basis at quadrature points. More...
 
virtual std::ostream & print (std::ostream &os) const =0
 Print quadrature data. More...
 

Private Member Functions

 Quadrature (const Quadrature &)
 
Quadratureoperator= (const Quadrature &b)
 

Detailed Description

template<typename ordinal_type, typename value_type>
class Stokhos::Quadrature< ordinal_type, value_type >

Abstract base class for quadrature methods.

Definition at line 54 of file Stokhos_Quadrature.hpp.

Constructor & Destructor Documentation

template<typename ordinal_type, typename value_type>
Stokhos::Quadrature< ordinal_type, value_type >::Quadrature ( )
inline

Constructor.

Definition at line 58 of file Stokhos_Quadrature.hpp.

template<typename ordinal_type, typename value_type>
virtual Stokhos::Quadrature< ordinal_type, value_type >::~Quadrature ( )
inlinevirtual

Destructor.

Definition at line 61 of file Stokhos_Quadrature.hpp.

template<typename ordinal_type, typename value_type>
Stokhos::Quadrature< ordinal_type, value_type >::Quadrature ( const Quadrature< ordinal_type, value_type > &  )
private

Member Function Documentation

template<typename ordinal_type, typename value_type>
virtual ordinal_type Stokhos::Quadrature< ordinal_type, value_type >::size ( ) const
pure virtual
template<typename ordinal_type, typename value_type>
virtual const Teuchos::Array< Teuchos::Array<value_type> >& Stokhos::Quadrature< ordinal_type, value_type >::getQuadPoints ( ) const
pure virtual

Get quadrature points.

Array is dimensioned Q-by-d where Q is the number of quadrature points and d is the dimension of the basis.

Implemented in Stokhos::SmolyakSparseGridQuadrature< ordinal_type, value_type, point_compare_type >, Stokhos::TensorProductQuadrature< ordinal_type, value_type >, and Stokhos::UserDefinedQuadrature< ordinal_type, value_type >.

template<typename ordinal_type, typename value_type>
virtual const Teuchos::Array<value_type>& Stokhos::Quadrature< ordinal_type, value_type >::getQuadWeights ( ) const
pure virtual
template<typename ordinal_type, typename value_type>
virtual const Teuchos::Array< Teuchos::Array<value_type> >& Stokhos::Quadrature< ordinal_type, value_type >::getBasisAtQuadPoints ( ) const
pure virtual

Get values of basis at quadrature points.

Array is dimensioned Q-by-P where Q is the number of quadrature points and P is the size of the basis.

Implemented in Stokhos::SmolyakSparseGridQuadrature< ordinal_type, value_type, point_compare_type >, Stokhos::TensorProductQuadrature< ordinal_type, value_type >, and Stokhos::UserDefinedQuadrature< ordinal_type, value_type >.

template<typename ordinal_type, typename value_type>
virtual std::ostream& Stokhos::Quadrature< ordinal_type, value_type >::print ( std::ostream &  os) const
pure virtual
template<typename ordinal_type, typename value_type>
Quadrature& Stokhos::Quadrature< ordinal_type, value_type >::operator= ( const Quadrature< ordinal_type, value_type > &  b)
private

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