Intrepid
Public Member Functions
Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight > Class Template Reference

Defines the base class for cubature (integration) rules in Intrepid. More...

#include <Intrepid_Cubature.hpp>

Inheritance diagram for Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >:
Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubatureGenSparse< Scalar, dimension_, ArrayPoint, ArrayWeight > Intrepid::CubatureLineSorted< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubaturePolylib< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubatureSparse< Scalar, dimension_, ArrayPoint, ArrayWeight > Intrepid::CubatureTensor< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubatureTensorSorted< Scalar, ArrayPoint, ArrayWeight >

List of all members.

Public Member Functions

virtual void getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const =0
 Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
virtual int getNumPoints () const =0
 Returns the number of cubature points.
virtual int getDimension () const =0
 Returns dimension of the integration domain.
virtual void getAccuracy (std::vector< int > &accuracy) const =0
 Returns algebraic accuracy (e.g. max. degree of polynomial that is integrated exactly). For tensor-product or sparse rules, algebraic accuracy for each coordinate direction is returned.

Detailed Description

template<class Scalar, class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
class Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >

Defines the base class for cubature (integration) rules in Intrepid.

Cubature template (rule) consists of cubature points and cubature weights. Intrepid provides a small collection of frequently used cubature rule templates for FEM reconstructions on simplices (edge, tri, tet) and the pyramid cell, defined in the derived classes of CubatureDirect.

For quad, hex, and triprism cells cubature templates are tensor products of CubatureDirect templates. The tensor-product cubatures are defined in the derived class CubatureTensor.

Definition at line 70 of file Intrepid_Cubature.hpp.


Member Function Documentation

template<class Scalar , class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
virtual void Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >::getAccuracy ( std::vector< int > &  accuracy) const [pure virtual]
template<class Scalar , class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
virtual void Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >::getCubature ( ArrayPoint &  cubPoints,
ArrayWeight &  cubWeights 
) const [pure virtual]

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