Nektar++
|
#include <Movement.h>
Public Member Functions | |
Movement (const LibUtilities::SessionReaderSharedPtr &pSession, MeshGraph *meshGraph) | |
Constructor. More... | |
~Movement ()=default | |
Default destructor. More... | |
const InterfaceCollection & | GetInterfaces () const |
const std::map< int, ZoneBaseShPtr > & | GetZones () const |
void | PerformMovement (NekDouble timeStep) |
Protected Attributes | |
InterfaceCollection | m_interfaces |
std::map< int, ZoneBaseShPtr > | m_zones |
bool | m_moveFlag = false |
Private Member Functions | |
void | ReadZones (TiXmlElement *zonesTag, MeshGraph *meshGraph, const LibUtilities::SessionReaderSharedPtr &pSession) |
Read zones given TiXmlDocument. More... | |
void | ReadInterfaces (TiXmlElement *interfacesTag, MeshGraph *meshGraph) |
Read interfaces given TiXmlDocument. More... | |
Definition at line 51 of file Movement.h.
Nektar::SpatialDomains::Movement::Movement | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
MeshGraph * | meshGraph | ||
) |
Constructor.
Definition at line 62 of file Movement.cpp.
References ASSERTL0, m_interfaces, m_zones, Nektar::SpatialDomains::MovementTypeStr, ReadInterfaces(), ReadZones(), Nektar::LibUtilities::ReduceMax, Nektar::LibUtilities::ReduceSum, and Nektar::LibUtilities::ShapeTypeMap.
|
default |
Default destructor.
|
inline |
Definition at line 62 of file Movement.h.
References m_interfaces.
|
inline |
Definition at line 398 of file Movement.cpp.
References m_interfaces, and m_zones.
|
private |
Read interfaces given TiXmlDocument.
Definition at line 313 of file Movement.cpp.
References ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::GetCompositeList(), m_interfaces, CellMLToNektar.pycml::name, NEKERROR, and Nektar::SpatialDomains::ReadTag().
Referenced by Movement().
|
private |
Read zones given TiXmlDocument.
Definition at line 191 of file Movement.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ParseUtils::GenerateVector(), Nektar::SpatialDomains::MeshGraph::GetDomain(), Nektar::SpatialDomains::MeshGraph::GetSpaceDimension(), m_moveFlag, m_zones, Nektar::NekVector< DataType >::Normalize(), Nektar::SpatialDomains::ReadTag(), and WARNINGL0.
Referenced by Movement().
|
protected |
Definition at line 76 of file Movement.h.
Referenced by GetInterfaces(), Movement(), PerformMovement(), and ReadInterfaces().
|
protected |
Definition at line 78 of file Movement.h.
Referenced by ReadZones().
|
protected |
Definition at line 77 of file Movement.h.
Referenced by GetZones(), Movement(), PerformMovement(), and ReadZones().