|
SpECTRE
2021.08.02
|
The abstract base class off of which specific classes for adding time dependence into a domain creator must inherit off of. More...
#include <TimeDependence.hpp>
Public Member Functions | |
| TimeDependence (const TimeDependence &)=default | |
| TimeDependence & | operator= (const TimeDependence &)=default |
| TimeDependence (TimeDependence &&)=default | |
| TimeDependence & | operator= (TimeDependence &&)=default |
| virtual auto | get_clone () const noexcept -> std::unique_ptr< TimeDependence >=0 |
Returns a std::unique_ptr pointing to a copy of the TimeDependence. More... | |
| virtual auto | block_maps (size_t number_of_blocks) const noexcept -> std::vector< std::unique_ptr< domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, MeshDim > > >=0 |
Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block. More... | |
| virtual auto | functions_of_time () const noexcept -> std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > >=0 |
| Returns the functions of time for the domain. More... | |
| bool | is_none () const noexcept |
Returns true if the instance is None, meaning no time dependence. | |
The abstract base class off of which specific classes for adding time dependence into a domain creator must inherit off of.
The simplest examples of a TimeDependence are None and UniformTranslation. The None class is treated in a special manner to communicate to the code that the domain is time-independent.
|
pure virtualnoexcept |
Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block.
Implemented in domain::creators::time_dependence::Composition< TimeDependenceCompTag0, TimeDependenceCompTags >, domain::creators::time_dependence::SphericalCompression, domain::creators::time_dependence::CubicScale< MeshDim >, domain::creators::time_dependence::None< MeshDim >, domain::creators::time_dependence::UniformRotationAboutZAxis< MeshDim >, and domain::creators::time_dependence::UniformTranslation< MeshDim >.
|
pure virtualnoexcept |
Returns the functions of time for the domain.
Implemented in domain::creators::time_dependence::Composition< TimeDependenceCompTag0, TimeDependenceCompTags >, domain::creators::time_dependence::CubicScale< MeshDim >, domain::creators::time_dependence::None< MeshDim >, domain::creators::time_dependence::SphericalCompression, domain::creators::time_dependence::UniformRotationAboutZAxis< MeshDim >, and domain::creators::time_dependence::UniformTranslation< MeshDim >.
|
pure virtualnoexcept |
Returns a std::unique_ptr pointing to a copy of the TimeDependence.
Implemented in domain::creators::time_dependence::Composition< TimeDependenceCompTag0, TimeDependenceCompTags >, domain::creators::time_dependence::SphericalCompression, domain::creators::time_dependence::CubicScale< MeshDim >, domain::creators::time_dependence::None< MeshDim >, domain::creators::time_dependence::UniformRotationAboutZAxis< MeshDim >, and domain::creators::time_dependence::UniformTranslation< MeshDim >.