Intrepid2
|
Defines the base class for cubature (integration) rules in Intrepid. More...
#include <Intrepid2_Cubature.hpp>
Public Member Functions | |
virtual void | getCubature (PointViewType, weightViewType) const |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More... | |
virtual void | getCubature (PointViewType, weightViewType, PointViewType) const |
Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated). More... | |
virtual ordinal_type | getNumPoints () const |
Returns the number of cubature points. | |
virtual ordinal_type | getDimension () const |
Returns dimension of the integration domain. | |
virtual ordinal_type | getAccuracy () const |
Returns dimension of the integration domain. | |
virtual const char * | getName () const |
Returns cubature name. | |
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 122 of file Intrepid2_Cubature.hpp.
|
inlinevirtual |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated).
cubPoints | [out] - Array containing the cubature points. |
cubWeights | [out] - Array of corresponding cubature weights. |
Reimplemented in Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >, Intrepid2::CubatureTensorPyr< ExecSpaceType, pointValueType, weightValueType >, and Intrepid2::CubatureTensor< ExecSpaceType, pointValueType, weightValueType >.
Definition at line 136 of file Intrepid2_Cubature.hpp.
|
inlinevirtual |
Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated).
cubPoints | [out] - Array containing the cubature points. |
cubWeights | [out] - Array of corresponding cubature weights. |
cellVertices | [in] - Array containing the cell vertices. |
Reimplemented in Intrepid2::CubatureControlVolumeSide< ExecSpaceType, pointValueType, weightValueType >, Intrepid2::CubatureControlVolume< ExecSpaceType, pointValueType, weightValueType >, and Intrepid2::CubatureControlVolumeBoundary< ExecSpaceType, pointValueType, weightValueType >.
Definition at line 151 of file Intrepid2_Cubature.hpp.