Intrepid
Public Member Functions | List of all members
Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight > Class Template Referenceabstract

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

#include <Intrepid_Cubature.hpp>

Inheritance diagram for Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >:
Intrepid::CubatureControlVolume< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubatureControlVolumeBoundary< Scalar, ArrayPoint, ArrayWeight > Intrepid::CubatureControlVolumeSide< 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 >

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). More...
 
virtual void getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellVertices) const =0
 Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated). More...
 
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. More...
 

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
template<class Scalar , class ArrayPoint = FieldContainer<Scalar>, class ArrayWeight = ArrayPoint>
virtual void Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >::getCubature ( ArrayPoint &  cubPoints,
ArrayWeight &  cubWeights,
ArrayPoint &  cellVertices 
) const
pure virtual

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