|
Nektar++
|
Functions | |
| SpatialDomains::SegGeomUniquePtr | CreateSegGeom (unsigned int id, SpatialDomains::PointGeom *v0, SpatialDomains::PointGeom *v1) |
| SpatialDomains::HexGeomUniquePtr | CreateHex (std::array< SpatialDomains::PointGeom *, 8 > v, std::array< SpatialDomains::SegGeomUniquePtr, 12 > &segVec, std::array< SpatialDomains::QuadGeomUniquePtr, 6 > &faceVec) |
| void | CheckHex (const int nm0, const int nm1, const int nm2, const int numMin) |
| Check HexExp::ReduceOrderCoeffs mode by mode on an affine element. | |
| BOOST_AUTO_TEST_CASE (TestHexReduceOrderCoeffs) | |
| Nektar::LocalRegionsReduceOrderTests::BOOST_AUTO_TEST_CASE | ( | TestHexReduceOrderCoeffs | ) |
Definition at line 187 of file LocalRegions/TestReduceOrderCoeffs.cpp.
References CheckHex().
| void Nektar::LocalRegionsReduceOrderTests::CheckHex | ( | const int | nm0, |
| const int | nm1, | ||
| const int | nm2, | ||
| const int | numMin | ||
| ) |
Check HexExp::ReduceOrderCoeffs mode by mode on an affine element.
Each mode of the orthogonal standard hexahedron of the same order and points is expressed in the element's basis and reduced to numMin: a mode below numMin in every direction must come back unchanged, every other must vanish. The element is a translated unit cube, so its transforms are those of the standard element up to a constant Jacobian.
Definition at line 112 of file LocalRegions/TestReduceOrderCoeffs.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), CreateHex(), Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::LibUtilities::eModified_A, and Nektar::LibUtilities::eOrtho_A.
Referenced by BOOST_AUTO_TEST_CASE().
| SpatialDomains::HexGeomUniquePtr Nektar::LocalRegionsReduceOrderTests::CreateHex | ( | std::array< SpatialDomains::PointGeom *, 8 > | v, |
| std::array< SpatialDomains::SegGeomUniquePtr, 12 > & | segVec, | ||
| std::array< SpatialDomains::QuadGeomUniquePtr, 6 > & | faceVec | ||
| ) |
Definition at line 57 of file LocalRegions/TestReduceOrderCoeffs.cpp.
References CreateSegGeom().
Referenced by CheckHex().
| SpatialDomains::SegGeomUniquePtr Nektar::LocalRegionsReduceOrderTests::CreateSegGeom | ( | unsigned int | id, |
| SpatialDomains::PointGeom * | v0, | ||
| SpatialDomains::PointGeom * | v1 | ||
| ) |
Definition at line 48 of file LocalRegions/TestReduceOrderCoeffs.cpp.
Referenced by CreateHex().