Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight > Class Template Reference

Inheritance diagram for Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight >:
Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >

List of all members.

Public Member Functions

 CubatureGenSparse (const int degree)
virtual void getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const
 Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
virtual int getNumPoints () const
 Returns the number of cubature points.
virtual int getDimension () const
 Returns dimension of the integration domain.
virtual void getAccuracy (std::vector< int > &accuracy) const
 Returns algebraic accuracy (e.g. max. degree of polynomial that is integrated exactly).

Private Attributes

int numPoints_
const int degree_
SGNodes< Scalar, dimension_ > grid

Detailed Description

template<class Scalar, int dimension_, class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
class Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight >

Definition at line 55 of file Intrepid_CubatureGenSparse.hpp.


Member Function Documentation

template<class Scalar , int dimension_, class ArrayPoint , class ArrayWeight >
void Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight >::getCubature ( ArrayPoint &  cubPoints,
ArrayWeight &  cubWeights 
) const [inline, virtual]

Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).

Parameters:
cubPoints [out] - Array containing the cubature points.
cubWeights [out] - Array of corresponding cubature weights.

Implements Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >.

Definition at line 207 of file Intrepid_CubatureGenSparseDef.hpp.


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