|
Intrepid
|
#include <Intrepid_CubaturePolygon.hpp>
Public Member Functions | |
| CubaturePolygon (const shards::CellTopology &cellTopology, const ArrayPoint &cellVertices, int degree) | |
| void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const |
| Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More... | |
| void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellCoords) const |
| Returns cubature points and weights. Method for physical space cubature, throws an exception. More... | |
| int | getNumPoints () const |
| Returns the number of cubature points. | |
| int | getDimension () const |
| Returns dimension of integration domain. | |
| void | getAccuracy (std::vector< int > &accuracy) const |
| Returns max. degree of polynomials that are integrated exactly on each triangle. The return vector has size 1. | |
Private Attributes | |
| shards::CellTopology | cellTopology_ |
| The topology of the polygon. | |
| ArrayPoint | cellVertices_ |
| The vertices of the polygon. | |
| int | degree_ |
| The degree of the polynomials that are integrated exactly on each triangle. | |
| FieldContainer< Scalar > | cubaturePoints_ |
| Local copy of cubature points. | |
| FieldContainer< Scalar > | cubatureWeights_ |
| Local copy of cubature weights. | |
| int | numPoints_ |
| The number of cubature points. | |
| int | cubDimension_ |
| Dimension of integration domain. | |
Defines cubature (integration) rules for polygons.
Definition at line 62 of file Intrepid_CubaturePolygon.hpp.
| Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::CubaturePolygon | ( | const shards::CellTopology & | cellTopology, |
| const ArrayPoint & | cellVertices, | ||
| int | degree | ||
| ) |
brief Constructor.
| cellTopology | [in] - The topology of the polygon. |
| cellVertices | [in] - The vertices of the polygon |
| degree | [in] - The degree of cubature for each triangle |
Definition at line 59 of file Intrepid_CubaturePolygonDef.hpp.
References Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::cellTopology_, Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::cellVertices_, Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::cubaturePoints_, Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::cubatureWeights_, Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::cubDimension_, Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::degree_, Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >::getCubature(), Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >::getDimension(), Intrepid::CubatureDirect< Scalar, ArrayPoint, ArrayWeight >::getNumPoints(), INTREPID_CUBATURE_TRI_DEFAULT_MAX, Intrepid::CellTools< Scalar >::mapToPhysicalFrame(), Intrepid::CubaturePolygon< Scalar, ArrayPoint, ArrayWeight >::numPoints_, Intrepid::FieldContainer< Scalar, ArrayTypeId >::resize(), and Intrepid::CellTools< Scalar >::setJacobianDet().
|
virtual |
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. |
Implements Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 143 of file Intrepid_CubaturePolygonDef.hpp.
|
virtual |
Returns cubature points and weights. Method for physical space cubature, throws an exception.
| 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 161 of file Intrepid_CubaturePolygonDef.hpp.
1.8.5