Nektar++
Loading...
Searching...
No Matches
Namespaces | Functions
TestHOAlignment.cpp File Reference
#include <LibUtilities/Foundations/ManagerAccess.h>
#include <SpatialDomains/HOAlignment.h>
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::NekMeshHOAlignmentUnitTest
 

Functions

static std::vector< std::array< int, 4 > > Nektar::NekMeshHOAlignmentUnitTest::TetWeights (int np)
 Barycentric position of every node of a nodal tetrahedron.
 
static std::vector< std::array< int, 4 > > Nektar::NekMeshHOAlignmentUnitTest::PrismPlaces (int np)
 Where every node of a nodal prism sits.
 
 Nektar::NekMeshHOAlignmentUnitTest::BOOST_AUTO_TEST_CASE (TestHOTetrahedronAlign)
 Aligning a tetrahedron puts every node where its weights say.
 
 Nektar::NekMeshHOAlignmentUnitTest::BOOST_AUTO_TEST_CASE (TestHOTetrahedronInteriorAlign)
 The interior of a tetrahedron aligns on its own too.
 
 Nektar::NekMeshHOAlignmentUnitTest::BOOST_AUTO_TEST_CASE (TestHOPrismRotate)
 Turning a prism moves every node round the triangle it sits in.
 
 Nektar::NekMeshHOAlignmentUnitTest::BOOST_AUTO_TEST_CASE (TestHOPrismThreeTurnsIsIdentity)
 Turning a prism three times leaves it as it was.