Intrepid2
Public Types | Public Member Functions | List of all members
Intrepid2::CubaturePolylib< ExecSpaceType, pointValueType, weightValueType > Class Template Reference

Utilizes cubature (integration) rules contained in the library Polylib (Spencer Sherwin, Aeronautics, Imperial College London) within Intrepid. More...

#include <Intrepid2_CubaturePolylib.hpp>

Inheritance diagram for Intrepid2::CubaturePolylib< ExecSpaceType, pointValueType, weightValueType >:
Intrepid2::CubatureDirect< ExecSpaceType, pointValueType, weightValueType > Intrepid2::Cubature< ExecSpaceType, pointValueType, weightValueType >

Public Types

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

 CubaturePolylib (const ordinal_type degree, const EPolyType polytype=POLYTYPE_GAUSS, const double alpha=0.0, const double beta=0.0)
 
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...
 

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.
 

Detailed Description

template<typename ExecSpaceType = void, typename pointValueType = double, typename weightValueType = double>
class Intrepid2::CubaturePolylib< ExecSpaceType, pointValueType, weightValueType >

Utilizes cubature (integration) rules contained in the library Polylib (Spencer Sherwin, Aeronautics, Imperial College London) within Intrepid.

They are based on zeros of Jacobi polynomials, e.g. Legendre (alpha=beta=0, default), Chebyshev (alpha=beta=-0.5), etc. They are given on the interval [-1,1] and are optimal with respect to the following requirements, yielding 4 subclasses:

Definition at line 76 of file Intrepid2_CubaturePolylib.hpp.


The documentation for this class was generated from the following files: