Intrepid
|
Defines cubature (integration) rules over Neumann boundaries for control volume method. More...
#include <Intrepid_CubatureControlVolumeBoundary.hpp>
Public Member Functions | |
CubatureControlVolumeBoundary (const Teuchos::RCP< const shards::CellTopology > &cellTopology, int cellSide=0) | |
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. The return vector has size 1. | |
Private Attributes | |
Teuchos::RCP< const shards::CellTopology > | primaryCellTopo_ |
The topology of the primary cell side. | |
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. | |
int | sideIndex_ |
Index of cell side. | |
Defines cubature (integration) rules over Neumann boundaries for control volume method.
Integration on Neumann boundaries for the control volume method requires integration points defined on primary cell sides. These points are not equivalent to control volume points on lower dimensional topologies and therefore require a separate class to define them.
Definition at line 69 of file Intrepid_CubatureControlVolumeBoundary.hpp.
Intrepid::CubatureControlVolumeBoundary< Scalar, ArrayPoint, ArrayWeight >::CubatureControlVolumeBoundary | ( | const Teuchos::RCP< const shards::CellTopology > & | cellTopology, |
int | cellSide = 0 |
||
) |
brief Constructor.
cellTopology | [in] - The topology of the primary cell. |
cellSide | [in] - The index of the boundary side of the primary cell |
Definition at line 55 of file Intrepid_CubatureControlVolumeBoundaryDef.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 79 of file Intrepid_CubatureControlVolumeBoundaryDef.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 87 of file Intrepid_CubatureControlVolumeBoundaryDef.hpp.
References Intrepid::CellTools< Scalar >::getSubCVCoords(), Intrepid::CellTools< Scalar >::mapToReferenceSubcell(), and Intrepid::CellTools< Scalar >::setJacobianDet().