136 return 2 * (npt - 2) - 1;
140 return 2 * (npt - 1) - 1;
146 case eGaussRadauMAlpha0Beta2:
147 case eGaussRadauMAlpha1Beta0:
148 case eGaussRadauMAlpha2Beta0:
157 case eGaussKronrodLegendre:
159 return 3 * (npt - 1) / 2 + 1;
164 return 3 * (npt - 2) / 2;
168 return 3 * (npt - 3) / 2;
Defines a specification for a set of points.
size_t m_numpoints
number of the points (as appropriately defined for PointsType)
PointsType GetPointsType() const
PointsType m_pointstype
Type of Points.
size_t GetNumPoints() const
NekDouble m_factor
optional factor
bool operator==(const BasisKey &x, const BasisKey &y)
void GetEffectiveQuadRange(const LibUtilities::PointsKey &pkey, int &q_begin, int &q_end)
const std::string kPointsTypeStr[]
bool operator<(const BasisKey &lhs, const BasisKey &rhs)
int GetDegreeOfExactness(const PointsType ptype, const int npt)
std::ostream & operator<<(std::ostream &os, const BasisKey &rhs)
@ eGaussRadauMLegendre
1D Gauss-Radau-Legendre quadrature points, pinned at x=-1
@ eGaussLegendreWithMP
1D Gauss-Legendre quadrature points with additional x=-1 and x=1 end points
@ eGaussRadauMAlpha0Beta1
Gauss Radau pinned at x=-1,.
@ eGaussRadauKronrodMLegendre
1D Gauss-Radau-Kronrod-Legendre quadrature points, pinned at x=-1
@ eGaussLobattoChebyshev
1D Gauss-Lobatto-Legendre quadrature points
@ eGaussRadauMChebyshev
1D Gauss-Radau-Chebyshev quadrature points, pinned at x=-1
@ eGaussRadauKronrodMAlpha1Beta0
1D Gauss-Radau-Kronrod-Legendre pinned at x=-1,
@ eGaussLobattoLegendre
1D Gauss-Lobatto-Legendre quadrature points
@ eGaussLegendreWithM
1D Gauss-Legendre quadrature points with additional x=-1 point
@ eGaussGaussChebyshev
1D Gauss-Gauss-Chebyshev quadrature points
@ eGaussLobattoKronrodLegendre
1D Lobatto Kronrod quadrature points
@ eGaussGaussLegendre
1D Gauss-Gauss-Legendre quadrature points
@ eGaussRadauPLegendre
1D Gauss-Radau-Legendre quadrature points, pinned at x=1
bool operator()(const PointsKey &lhs, const PointsKey &rhs) const