36#ifndef NEKTAR_SPATIALDOMAINS_MOVEMENT_H
37#define NEKTAR_SPATIALDOMAINS_MOVEMENT_H
73 inline const std::map<int, ZoneBaseShPtr> &
GetZones()
const
#define SPATIAL_DOMAINS_EXPORT
Base class for a spectral/hp element mesh.
const bool & GetMoveFlag() const
const std::map< int, ZoneBaseShPtr > & GetZones() const
void DomainBox()
Calculate length of the domain.
const bool & GetMovedFlag() const
const Array< OneD, NekDouble > & GetDomainLength() const
const InterfaceCollection & GetInterfaces() const
const bool & GetImplicitALESolverFlag() const
void PerformMovement(NekDouble timeStep)
Array< OneD, NekDouble > m_DomainLength
void ReadZones(TiXmlElement *zonesTag, MeshGraph *meshGraph, const LibUtilities::SessionReaderSharedPtr &pSession)
Read zones given TiXmlDocument.
bool & GetCoordExchangeFlag()
void SetImplicitALEFlag(bool &ImplicitALE)
void AddInterface(std::string name, InterfaceShPtr left, InterfaceShPtr right)
Add pair of interfaces to this data.
const bool & GetTranslateFlag() const
void ReadInterfaces(TiXmlElement *interfacesTag, MeshGraph *meshGraph)
Read interfaces given TiXmlDocument.
~Movement()=default
Default destructor.
Array< OneD, NekDouble > m_DomainBox
void AddZone(ZoneBaseShPtr zone)
Add a zone object to this Movement data.
void WriteMovement(TiXmlElement *root)
Write the MOVEMENT section of the XML file.
InterfaceCollection m_interfaces
const Array< OneD, NekDouble > & GetDomainBox() const
std::map< int, ZoneBaseShPtr > m_zones
Movement()=default
Default constructor.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< ZoneBase > ZoneBaseShPtr
std::shared_ptr< InterfacePair > InterfacePairShPtr
std::shared_ptr< Interface > InterfaceShPtr
std::shared_ptr< Movement > MovementSharedPtr
std::map< std::pair< int, std::string >, InterfacePairShPtr > InterfaceCollection