Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayType > Class Template Reference

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

List of all members.

Public Member Functions

 CubatureGenSparse (const int degree)
virtual void getCubature (ArrayType &cubPoints, ArrayType &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 ArrayType = FieldContainer<Scalar>>
class Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayType >

Definition at line 55 of file Intrepid_CubatureGenSparse.hpp.


Member Function Documentation

template<class Scalar , int dimension_, class ArrayType >
void Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayType >::getCubature ( ArrayType &  cubPoints,
ArrayType &  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, ArrayType >.

Definition at line 207 of file Intrepid_CubatureGenSparseDef.hpp.


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