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

Public Member Functions

 CubatureSparse (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 level_
 
int numPoints_
 
const int degree_
 

Detailed Description

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

Definition at line 75 of file Intrepid_CubatureSparse.hpp.

Member Function Documentation

template<class Scalar , int dimension_, class ArrayPoint , class ArrayWeight >
void Intrepid::CubatureSparse< 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 137 of file Intrepid_CubatureSparseDef.hpp.

template<class Scalar , int dimension_, class ArrayPoint , class ArrayWeight >
void Intrepid::CubatureSparse< 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 150 of file Intrepid_CubatureSparseDef.hpp.


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