Intrepid2
|
Defines direct integration rules on a tetrahedron. More...
#include <Intrepid2_CubatureDirectTetDefault.hpp>
Public Types | |
typedef CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureDataStatic | CubatureDataStatic |
typedef CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureData | CubatureData |
typedef CubatureDirect< DeviceType, pointValueType, weightValueType >::PointViewType | PointViewType |
typedef CubatureDirect< DeviceType, pointValueType, weightValueType >::weightViewType | weightViewType |
![]() | |
typedef Cubature< DeviceType, pointValueType, weightValueType >::PointViewType | PointViewType |
typedef Cubature< DeviceType, pointValueType, weightValueType >::weightViewType | weightViewType |
![]() | |
using | ExecSpaceType = typename DeviceType::execution_space |
using | PointViewType = Kokkos::DynRankView<pointValueType,Kokkos::LayoutStride,DeviceType> |
using | weightViewType = Kokkos::DynRankView<weightValueType,Kokkos::LayoutStride,DeviceType> |
using | PointViewTypeAllocatable = Kokkos::DynRankView<pointValueType,DeviceType> |
using | WeightViewTypeAllocatable = Kokkos::DynRankView<weightValueType,DeviceType> |
using | TensorPointDataType = TensorPoints<pointValueType,DeviceType> |
using | TensorWeightDataType = TensorData<weightValueType,DeviceType> |
Public Member Functions | |
CubatureDirectTetDefault (const ordinal_type degree=0) | |
Constructor. | |
virtual const char * | getName () const override |
Returns cubature name. | |
![]() | |
virtual void | getCubature (PointViewType cubPoints, weightViewType cubWeights) const override |
Returns cubature points and weights (return arrays must be pre-sized/pre-allocated). | |
virtual ordinal_type | getNumPoints () const override |
Returns the number of cubature points. | |
virtual ordinal_type | getDimension () const override |
Returns dimension of integration domain. | |
virtual ordinal_type | getAccuracy () const override |
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1. | |
CubatureDirect (const CubatureDirect &b) | |
CubatureDirect & | operator= (const CubatureDirect &b) |
CubatureDirect (const ordinal_type degree, const ordinal_type dimension) | |
![]() | |
virtual TensorPointDataType | allocateCubaturePoints () const |
Returns a points container appropriate for passing to getCubature(). | |
virtual TensorWeightDataType | allocateCubatureWeights () const |
Returns a weight container appropriate for passing to getCubature(). | |
virtual void | getCubature (PointViewType, weightViewType, PointViewType) const |
Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated). | |
virtual void | getCubature (const TensorPointDataType &tensorCubPoints, const TensorWeightDataType &tensorCubWeights) const |
Returns tensor cubature points and weights. For non-tensor cubatures, the tensor structures are trivial, thin wrappers around the data returned by getCubature(). The provided containers should be pre-allocated through calls to allocateCubaturePoints() and allocateCubatureWeights(). | |
Static Private Attributes | |
static constexpr ordinal_type | cubatureDataStaticSize =21 |
static const CubatureDataStatic | cubatureDataStatic_ [cubatureDataStaticSize] |
Complete set of data defining default cubature rules on a triangle. | |
Additional Inherited Members | |
![]() | |
template<typename cubPointValueType , class ... cubPointProperties, typename cubWeightValueType , class ... cubWeightProperties> | |
void | getCubatureFromData (Kokkos::DynRankView< cubPointValueType, cubPointProperties... > cubPoints, Kokkos::DynRankView< cubWeightValueType, cubWeightProperties... > cubWeights, const CubatureData cubData) const |
Returns cubature points and weights. | |
![]() | |
ordinal_type | degree_ |
The degree of polynomials that are integrated exactly by this cubature rule. | |
ordinal_type | dimension_ |
Dimension of integration domain. | |
CubatureData | cubatureData_ |
Cubature data on device. | |
Defines direct integration rules on a tetrahedron.
Definition at line 63 of file Intrepid2_CubatureDirectTetDefault.hpp.
typedef CubatureDirect<DeviceType,pointValueType,weightValueType>::CubatureData Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::CubatureData |
Definition at line 67 of file Intrepid2_CubatureDirectTetDefault.hpp.
typedef CubatureDirect<DeviceType,pointValueType,weightValueType>::CubatureDataStatic Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::CubatureDataStatic |
Definition at line 66 of file Intrepid2_CubatureDirectTetDefault.hpp.
typedef CubatureDirect<DeviceType,pointValueType,weightValueType>::PointViewType Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::PointViewType |
Definition at line 69 of file Intrepid2_CubatureDirectTetDefault.hpp.
typedef CubatureDirect<DeviceType,pointValueType,weightValueType>::weightViewType Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::weightViewType |
Definition at line 70 of file Intrepid2_CubatureDirectTetDefault.hpp.
Intrepid2::CubatureDirectTetDefault< DT, PT, WT >::CubatureDirectTetDefault | ( | const ordinal_type | degree = 0 | ) |
Constructor.
degree | [in] - The degree of polynomials that are integrated exactly by this cubature rule. Default: 0. |
Definition at line 52 of file Intrepid2_CubatureDirectTetDefaultDef.hpp.
References Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::cubatureData_, Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::cubatureDataStatic_, Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::degree_, Intrepid2::Parameters::MaxCubatureDegreeTet, Intrepid2::Parameters::MaxDimension, Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureDataStatic::numPoints_, Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureData::numPoints_, Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureData::points_, and Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >::CubatureData::weights_.
|
inlineoverridevirtual |
Returns cubature name.
Reimplemented from Intrepid2::CubatureDirect< DeviceType, pointValueType, weightValueType >.
Definition at line 94 of file Intrepid2_CubatureDirectTetDefault.hpp.
|
staticprivate |
Complete set of data defining default cubature rules on a triangle.
Definition at line 79 of file Intrepid2_CubatureDirectTetDefault.hpp.
Referenced by Intrepid2::CubatureDirectTetDefault< DeviceType, pointValueType, weightValueType >::CubatureDirectTetDefault().
|
staticconstexprprivate |
Definition at line 75 of file Intrepid2_CubatureDirectTetDefault.hpp.