|
Nektar++
|
#include <LibUtilities/Foundations/ManagerAccess.h>#include <LibUtilities/Foundations/Points.h>#include <boost/test/tools/floating_point_comparison.hpp>#include <boost/test/unit_test.hpp>#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::GaussGaussAlpha1Beta0UnitTests |
Functions | |
| static NekDouble | Nektar::GaussGaussAlpha1Beta0UnitTests::ExactMoment (const unsigned int k) |
| The exact value of the integral of (1 - x) x^k over [-1, 1]. | |
| 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. | |
| 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. | |