39#include <boost/test/tools/floating_point_comparison.hpp>
40#include <boost/test/unit_test.hpp>
68 int np = evenlySpaced->GetTotNumPoints();
70 evenlySpaced->GetPoints(xc, yc, zc);
72 double epsilon = 1.0e-8;
76 for (
auto i = 0; i < np; ++i)
83 stdTet.LocCoordToLocCollapsed(xi, eta);
84 stdTet.LocCollapsedToLocCoord(eta, tmp);
86 BOOST_CHECK_CLOSE(tmp[0], xi[0], epsilon);
87 BOOST_CHECK_CLOSE(tmp[1], xi[1], epsilon);
88 BOOST_CHECK_CLOSE(tmp[2], xi[2], epsilon);
Describes the specification for a Basis.
Defines a specification for a set of points.
PointsManagerT & PointsManager(void)
@ eGaussLobattoLegendre
1D Gauss-Lobatto-Legendre quadrature points
@ eNodalTetEvenlySpaced
3D Evenly-spaced points on a Tetrahedron
@ eModified_B
Principle Modified Functions .
@ eModified_C
Principle Modified Functions .
@ eModified_A
Principle Modified Functions .
BOOST_AUTO_TEST_CASE(TestLocCollapsedCoordsTet)