Nektar++
Namespaces | Functions | Variables
TestMovement.cpp File Reference
#include <LibUtilities/BasicUtils/ParseUtils.h>
#include <SpatialDomains/MeshGraph.h>
#include <SpatialDomains/Movement/InterfaceInterpolation.h>
#include <SpatialDomains/Movement/Movement.h>
#include <SpatialDomains/Movement/Zones.h>
#include <boost/test/tools/floating_point_comparison.hpp>
#include <boost/test/unit_test.hpp>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::MovementTests
 

Functions

LibUtilities::SessionReaderSharedPtr Nektar::MovementTests::CreateSession ()
 
SpatialDomains::ZoneBaseShPtr Nektar::MovementTests::CreateZone (SpatialDomains::MovementType type, int zoneID, int domainID, LibUtilities::InterpreterSharedPtr interpreter)
 Produce dummy Zone objects, containing empty domain pointers. More...
 
SpatialDomains::InterfaceShPtr Nektar::MovementTests::CreateInterface (int interfaceID, std::vector< int > compositeIDs)
 Produce dummy Interface objects, containing empty domain pointers. More...
 
 Nektar::MovementTests::BOOST_AUTO_TEST_CASE (TestAddGetZones)
 
 Nektar::MovementTests::BOOST_AUTO_TEST_CASE (TestAddGetInterfaces)
 
 Nektar::MovementTests::BOOST_AUTO_TEST_CASE (TestWriteMovement)
 

Variables

const std::string Nektar::MovementTests::angVelStr = "0.1*t"
 
const std::string Nektar::MovementTests::xEqnStr = "0.1*x - 0.1*t"
 
const std::string Nektar::MovementTests::yEqnStr = "0.1*y^2 - x"
 
const std::string Nektar::MovementTests::zEqnStr = "sqrt(t)"
 
const NekPoint< NekDouble > Nektar::MovementTests::origin = {1., 2., 3.}
 
const DNekVec Nektar::MovementTests::axis = {1., 2., 3.}
 
const std::vector< NekDouble > Nektar::MovementTests::velocity = {1., 1., 2.}