Nektar++
|
Functions | |
LibUtilities::SessionReaderSharedPtr | CreateSession () |
SpatialDomains::ZoneBaseShPtr | CreateZone (SpatialDomains::MovementType type, int zoneID, int domainID, LibUtilities::InterpreterSharedPtr interpreter) |
Produce dummy Zone objects, containing empty domain pointers. More... | |
SpatialDomains::InterfaceShPtr | CreateInterface (int interfaceID, std::vector< int > compositeIDs) |
Produce dummy Interface objects, containing empty domain pointers. More... | |
BOOST_AUTO_TEST_CASE (TestAddGetZones) | |
BOOST_AUTO_TEST_CASE (TestAddGetInterfaces) | |
BOOST_AUTO_TEST_CASE (TestWriteMovement) | |
Variables | |
const std::string | angVelStr = "0.1*t" |
const std::string | xEqnStr = "0.1*x - 0.1*t" |
const std::string | yEqnStr = "0.1*y^2 - x" |
const std::string | zEqnStr = "sqrt(t)" |
std::vector< std::string > | velocityStr = {"1.0", "2.0", "3.0"} |
std::vector< std::string > | displacementStr = {"1.0", "2.0", "3.0"} |
const NekPoint< NekDouble > | origin = {1., 2., 3.} |
const DNekVec | axis = {1., 2., 3.} |
Nektar::MovementTests::BOOST_AUTO_TEST_CASE | ( | TestAddGetInterfaces | ) |
Definition at line 147 of file TestMovement.cpp.
References Nektar::SpatialDomains::Movement::AddInterface(), CreateInterface(), and Nektar::SpatialDomains::Movement::GetInterfaces().
Nektar::MovementTests::BOOST_AUTO_TEST_CASE | ( | TestAddGetZones | ) |
Definition at line 126 of file TestMovement.cpp.
References Nektar::SpatialDomains::Movement::AddZone(), Nektar::MemoryManager< DataType >::AllocateSharedPtr(), CreateZone(), Nektar::SpatialDomains::eFixed, Nektar::SpatialDomains::eRotate, and Nektar::SpatialDomains::Movement::GetZones().
Nektar::MovementTests::BOOST_AUTO_TEST_CASE | ( | TestWriteMovement | ) |
Definition at line 172 of file TestMovement.cpp.
References Nektar::SpatialDomains::Movement::AddInterface(), Nektar::SpatialDomains::Movement::AddZone(), Nektar::MemoryManager< DataType >::AllocateSharedPtr(), angVelStr, axis, CreateInterface(), CreateZone(), displacementStr, Nektar::SpatialDomains::eFixed, Nektar::SpatialDomains::eRotate, Nektar::SpatialDomains::eTranslate, Nektar::ParseUtils::GenerateVector(), Nektar::NekVector< DataType >::GetDimension(), Nektar::SpatialDomains::Movement::GetInterfaces(), Nektar::SpatialDomains::Movement::GetZones(), origin, velocityStr, and Nektar::SpatialDomains::Movement::WriteMovement().
SpatialDomains::InterfaceShPtr Nektar::MovementTests::CreateInterface | ( | int | interfaceID, |
std::vector< int > | compositeIDs | ||
) |
Produce dummy Interface objects, containing empty domain pointers.
Definition at line 112 of file TestMovement.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
Referenced by BOOST_AUTO_TEST_CASE().
LibUtilities::SessionReaderSharedPtr Nektar::MovementTests::CreateSession | ( | ) |
Definition at line 46 of file TestMovement.cpp.
References Nektar::LibUtilities::SessionReader::CreateInstance().
SpatialDomains::ZoneBaseShPtr Nektar::MovementTests::CreateZone | ( | SpatialDomains::MovementType | type, |
int | zoneID, | ||
int | domainID, | ||
LibUtilities::InterpreterSharedPtr | interpreter | ||
) |
Produce dummy Zone objects, containing empty domain pointers.
Definition at line 61 of file TestMovement.cpp.
References angVelStr, axis, displacementStr, Nektar::SpatialDomains::eFixed, Nektar::SpatialDomains::eRotate, Nektar::SpatialDomains::eTranslate, origin, and velocityStr.
Referenced by BOOST_AUTO_TEST_CASE().
const std::string Nektar::MovementTests::angVelStr = "0.1*t" |
Definition at line 53 of file TestMovement.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and CreateZone().
const DNekVec Nektar::MovementTests::axis = {1., 2., 3.} |
Definition at line 58 of file TestMovement.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CreateZone(), Nektar::SpatialDomains::Movement::ReadZones(), Nektar::SolverUtils::ALERotate::v_UpdateGridVel(), and ZoneRotate_Init().
std::vector<std::string> Nektar::MovementTests::displacementStr = {"1.0", "2.0", "3.0"} |
Definition at line 56 of file TestMovement.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CreateZone(), and Nektar::SpatialDomains::Movement::ReadZones().
Definition at line 57 of file TestMovement.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CreateZone(), Nektar::Collections::Helmholtz_IterPerExp::operator()(), Nektar::Collections::LinearAdvectionDiffusionReaction_IterPerExp::operator()(), Nektar::SpatialDomains::Movement::ReadZones(), Nektar::SolverUtils::ALERotate::v_UpdateGridVel(), and ZoneRotate_Init().
std::vector<std::string> Nektar::MovementTests::velocityStr = {"1.0", "2.0", "3.0"} |
Definition at line 55 of file TestMovement.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CreateZone(), and Nektar::SpatialDomains::Movement::ReadZones().
const std::string Nektar::MovementTests::xEqnStr = "0.1*x - 0.1*t" |
Definition at line 53 of file TestMovement.cpp.
const std::string Nektar::MovementTests::yEqnStr = "0.1*y^2 - x" |
Definition at line 54 of file TestMovement.cpp.
const std::string Nektar::MovementTests::zEqnStr = "sqrt(t)" |
Definition at line 54 of file TestMovement.cpp.