Nektar++
Loading...
Searching...
No Matches
Namespaces | Functions
TestPyrExactMass.cpp File Reference
#include <StdRegions/StdPyrExp.h>
#include <array>
#include <boost/test/tools/floating_point_comparison.hpp>
#include <boost/test/unit_test.hpp>
#include <cmath>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::StdRegionsUnitTests
 

Functions

static StdRegions::StdPyrExpSharedPtr Nektar::StdRegionsUnitTests::MakeOrthoPyr (const unsigned int P, const unsigned int np)
 The orthogonal pyramid of order P on np points per direction of the default orthogonal rule: Gauss-Legendre, Gauss-Legendre and Gauss-Jacobi(1,0) in the collapsed direction.
 
static std::vector< NekDouble > Nektar::StdRegionsUnitTests::Solve (std::vector< NekDouble > A, std::vector< NekDouble > b, const unsigned int n)
 Solve the dense system A x = b in place by Gaussian elimination with partial pivoting; A is row major, n by n.
 
static DNekMatSharedPtr Nektar::StdRegionsUnitTests::Mass (const StdRegions::StdPyrExpSharedPtr &e)
 
 Nektar::StdRegionsUnitTests::BOOST_AUTO_TEST_CASE (TestPyrOrthoMassDiagonal)
 
 Nektar::StdRegionsUnitTests::BOOST_AUTO_TEST_CASE (TestPyrOrthoPolynomials)
 Every monomial x^a y^b z^c of total degree at most P is in the span: its projection reproduces it at the quadrature points.
 
 Nektar::StdRegionsUnitTests::BOOST_AUTO_TEST_CASE (TestPyrOrthoTriFaceTrace)
 
 Nektar::StdRegionsUnitTests::BOOST_AUTO_TEST_CASE (TestPyrModifiedInOrthoSpan)