Intrepid2
|
Defines Gauss integration rules on a line. More...
#include <Intrepid2_CubatureDirectLineGauss.hpp>
Public Types | |
typedef CubatureDirect < ExecSpaceType, pointValueType, weightValueType > ::CubatureDataStatic | CubatureDataStatic |
typedef CubatureDirect < ExecSpaceType, pointValueType, weightValueType > ::CubatureData | CubatureData |
typedef CubatureDirect < ExecSpaceType, pointValueType, weightValueType > ::PointViewType | PointViewType |
typedef CubatureDirect < ExecSpaceType, pointValueType, weightValueType > ::weightViewType | weightViewType |
Public Types inherited from Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType > | |
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 | |
CubatureDirectLineGauss (const ordinal_type degree=0) | |
Constructor. More... | |
virtual const char * | getName () const |
Returns cubature name. | |
Public Member Functions inherited from Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType > | |
virtual void | getCubature (PointViewType cubPoints, weightViewType cubWeights) 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 ordinal_type | getAccuracy () const |
Returns max. degree of polynomials that are integrated exactly. The return vector has size 1. | |
CubatureDirect (const CubatureDirect &b) | |
CubatureDirect (const ordinal_type degree, const ordinal_type dimension) | |
Public Member Functions inherited from Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType > | |
virtual void | getCubature (PointViewType, weightViewType, PointViewType) const |
Returns cubature points and weights on physical cells (return arrays must be pre-sized/pre-allocated). More... | |
Static Private Attributes | |
static constexpr ordinal_type | cubatureDataStaticSize =62 |
static const CubatureDataStatic | cubatureDataStatic_ [cubatureDataStaticSize] |
Complete set of data defining line Gauss(-Legendre) rules. | |
Additional Inherited Members | |
Protected Member Functions inherited from Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType > | |
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. More... | |
Protected Attributes inherited from Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType > | |
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 Gauss integration rules on a line.
Definition at line 63 of file Intrepid2_CubatureDirectLineGauss.hpp.
Intrepid2::CubatureDirectLineGauss< SpT, PT, WT >::CubatureDirectLineGauss | ( | 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 53 of file Intrepid2_CubatureDirectLineGaussDef.hpp.
References Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::cubatureData_, Intrepid2::CubatureDirectLineGauss< ExecSpaceType, pointValueType, weightValueType >::cubatureDataStatic_, Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::degree_, Intrepid2::Parameters::MaxCubatureDegreeEdge, Intrepid2::Parameters::MaxDimension, Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::CubatureDataStatic::numPoints_, Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::CubatureData::numPoints_, Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::CubatureData::points_, and Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType >::CubatureData::weights_.