|
Nektar++
|
Functions | |
| static NekDouble | ExactMoment (const unsigned int k) |
| The exact value of the integral of (1 - x) x^k over [-1, 1]. | |
| BOOST_AUTO_TEST_CASE (TestGaussGaussAlpha1Beta0Quadrature) | |
| The n-point rule integrates (1 - x) x^k exactly for k up to 2n - 1, as a Gauss rule for that weight must, and not for k = 2n; its points are interior and ascending. | |
| BOOST_AUTO_TEST_CASE (TestGaussGaussAlpha1Beta0DerivAndInterp) | |
| The derivative matrix differentiates, and the interpolation matrix to Gauss-Lobatto-Legendre points interpolates, every polynomial of degree up to n - 1 exactly. | |
| Nektar::GaussGaussAlpha1Beta0UnitTests::BOOST_AUTO_TEST_CASE | ( | TestGaussGaussAlpha1Beta0DerivAndInterp | ) |
The derivative matrix differentiates, and the interpolation matrix to Gauss-Lobatto-Legendre points interpolates, every polynomial of degree up to n - 1 exactly.
Definition at line 107 of file TestGaussGaussAlpha1Beta0.cpp.
References Nektar::LibUtilities::eGaussGaussAlpha1Beta0, Nektar::LibUtilities::eGaussLobattoLegendre, and Nektar::LibUtilities::PointsManager().
| Nektar::GaussGaussAlpha1Beta0UnitTests::BOOST_AUTO_TEST_CASE | ( | TestGaussGaussAlpha1Beta0Quadrature | ) |
The n-point rule integrates (1 - x) x^k exactly for k up to 2n - 1, as a Gauss rule for that weight must, and not for k = 2n; its points are interior and ascending.
Definition at line 64 of file TestGaussGaussAlpha1Beta0.cpp.
References Nektar::LibUtilities::eGaussGaussAlpha1Beta0, ExactMoment(), Nektar::LibUtilities::PointsManager(), and sum.
|
static |
The exact value of the integral of (1 - x) x^k over [-1, 1].
Definition at line 51 of file TestGaussGaussAlpha1Beta0.cpp.
Referenced by BOOST_AUTO_TEST_CASE().