Intrepid2
|
Defines cubature (integration) rules over control volumes. More...
#include <Intrepid2_CubatureControlVolume.hpp>
Classes | |
struct | Functor |
Public Types | |
typedef Cubature < ExecSpaceType, pointValueType, weightValueType > ::PointViewType | PointViewType |
typedef Cubature < ExecSpaceType, pointValueType, weightValueType > ::weightViewType | weightViewType |
Public Types inherited from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType > | |
typedef Kokkos::DynRankView < pointValueType, Kokkos::LayoutStride, ExecSpaceType > | PointViewType |
typedef Kokkos::DynRankView < weightValueType, Kokkos::LayoutStride, ExecSpaceType > | weightViewType |
Public Member Functions | |
virtual void | getCubature (PointViewType cubPoints, weightViewType cubWeights, PointViewType cellCoords) const |
Returns cubature points and weights (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 integration domain. | |
virtual const char * | getName () const |
Returns cubature name. | |
CubatureControlVolume (const shards::CellTopology cellTopology) | |
Public Member Functions inherited from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType > | |
virtual void | getCubature (PointViewType, weightViewType) const |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). More... | |
virtual ordinal_type | getAccuracy () const |
Returns dimension of the integration domain. | |
Protected Attributes | |
shards::CellTopology | primaryCellTopo_ |
The topology of the primary cell. | |
shards::CellTopology | subcvCellTopo_ |
The topology of the sub-control volume. | |
ordinal_type | degree_ |
The degree of the polynomials that are integrated exactly. | |
Kokkos::DynRankView < pointValueType, ExecSpaceType > | subcvCubaturePoints_ |
Kokkos::DynRankView < weightValueType, ExecSpaceType > | subcvCubatureWeights_ |
Defines cubature (integration) rules over control volumes.
Each primary cell contains one sub-control volume per node and there is one integration point per sub-control volume.
Definition at line 70 of file Intrepid2_CubatureControlVolume.hpp.
Intrepid2::CubatureControlVolume< SpT, PT, WT >::CubatureControlVolume | ( | const shards::CellTopology | cellTopology | ) |
brief Constructor.
cellTopology | [in] - The topology of the primary cell. |
Definition at line 56 of file Intrepid2_CubatureControlVolumeDef.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 |
Reimplemented from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >.
Definition at line 93 of file Intrepid2_CubatureControlVolumeDef.hpp.
References Intrepid2::CellTools< ExecSpaceType >::getSubcvCoords(), Intrepid2::CellTools< ExecSpaceType >::setJacobian(), and Intrepid2::CellTools< ExecSpaceType >::setJacobianDet().