Intrepid
|
Defines cubature (integration) rules over control volumes. More...
#include <Intrepid_CubatureControlVolumeSide.hpp>
Public Member Functions | |
CubatureControlVolumeSide (const Teuchos::RCP< const shards::CellTopology > &cellTopology) | |
void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights) const |
Returns cubature points and weights Method for reference space cubature - throws an exception. More... | |
void | getCubature (ArrayPoint &cubPoints, ArrayWeight &cubWeights, ArrayPoint &cellCoords) const |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). 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 | |
Teuchos::RCP< const shards::CellTopology > | primaryCellTopo_ |
The topology of the primary cell. | |
Teuchos::RCP< const shards::CellTopology > | subCVCellTopo_ |
The topology of the sub-control volume. | |
int | degree_ |
The degree of the polynomials that are integrated exactly. | |
int | numPoints_ |
The number of cubature points. | |
int | cubDimension_ |
Dimension of integration domain. | |
Defines cubature (integration) rules over control volumes.
Definition at line 63 of file Intrepid_CubatureControlVolumeSide.hpp.
Intrepid::CubatureControlVolumeSide< Scalar, ArrayPoint, ArrayWeight >::CubatureControlVolumeSide | ( | const Teuchos::RCP< const shards::CellTopology > & | cellTopology | ) |
brief Constructor.
cellTopology | [in] - The topology of the primary cell. |
Definition at line 55 of file Intrepid_CubatureControlVolumeSideDef.hpp.
|
virtual |
Returns cubature points and weights Method for reference space cubature - throws an exception.
cubPoints | [out] - Array containing the cubature points. |
cubWeights | [out] - Array of corresponding cubature weights. |
Implements Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 76 of file Intrepid_CubatureControlVolumeSideDef.hpp.
|
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. |
cellCoords | [in] - Array of cell coordinates |
Implements Intrepid::Cubature< Scalar, ArrayPoint, ArrayWeight >.
Definition at line 84 of file Intrepid_CubatureControlVolumeSideDef.hpp.
References Intrepid::CellTools< Scalar >::getPhysicalSideNormals(), Intrepid::CellTools< Scalar >::getSubCVCoords(), and Intrepid::CellTools< Scalar >::mapToReferenceSubcell().