Intrepid
Public Member Functions | Private Attributes | List of all members
Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight > Class Template Reference
Inheritance diagram for Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight >:
Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >

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). More...
 
virtual void getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellCoords) const
 Returns cubature points and weights. Method for physical space cubature, throws an exception. More...
 
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 69 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
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 221 of file Intrepid_CubatureGenSparseDef.hpp.

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

Returns cubature points and weights. Method for physical space cubature, throws an exception.

Parameters
cubPoints[out] - Array containing the cubature points.
cubWeights[out] - Array of corresponding cubature weights.
cellCoords[in] - Array of cell coordinates

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

Definition at line 227 of file Intrepid_CubatureGenSparseDef.hpp.


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