38#include <boost/test/tools/floating_point_comparison.hpp>
39#include <boost/test/unit_test.hpp>
45using namespace LibUtilities;
53 const unsigned int nm = 4;
69 BOOST_REQUIRE_EQUAL(ma->GetRows(), mb->GetRows());
70 BOOST_REQUIRE_EQUAL(ma->GetColumns(), mb->GetColumns());
73 for (
unsigned int i = 0; i < ma->GetRows(); ++i)
75 for (
unsigned int j = 0; j < ma->GetColumns(); ++j)
78 std::abs(ma->GetValue(i, j) - mb->GetValue(i, j)));
89 eGaussRadauMAlpha2Beta0);
Describes the specification for a Basis.
Defines a specification for a set of points.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
@ eGaussGaussAlpha1Beta0
1D Gauss-Jacobi quadrature points,
@ eGaussLobattoLegendre
1D Gauss-Lobatto-Legendre quadrature points
@ eGaussGaussLegendre
1D Gauss-Gauss-Legendre quadrature points
@ eOrtho_A
Principle Orthogonal Functions .
@ eOrtho_C
Principle Orthogonal Functions .
@ eOrtho_B
Principle Orthogonal Functions .
std::shared_ptr< StdTetExp > StdTetExpSharedPtr
static StdRegions::StdTetExpSharedPtr MakeTet(const unsigned int np, const PointsType p0, const PointsType p1, const PointsType p2)
The P3 orthogonal tet on np points per direction of the given types.
static NekDouble MassDifference(const StdRegions::StdTetExpSharedPtr &a, const StdRegions::StdTetExpSharedPtr &b)
The largest entry of the difference between the mass matrices of a and b.
BOOST_AUTO_TEST_CASE(TestQuadInvBwdTransPseudoInverse)
std::shared_ptr< DNekMat > DNekMatSharedPtr