|
SpECTRE
2021.08.02
|
A uniform translation in the \(x-, y-\) and \(z-\)direction. More...
#include <UniformTranslation.hpp>
Classes | |
| struct | FunctionOfTimeNames |
| The names of the functions of times to be added to the added to the DataBox. More... | |
| struct | InitialExpirationDeltaT |
| The time interval for updates of the functions of time. More... | |
| struct | InitialTime |
| The initial time of the functions of time. More... | |
| struct | Velocity |
| The \(x\)-, \(y\)-, and \(z\)-velocity. More... | |
Public Member Functions | |
| UniformTranslation (const UniformTranslation &)=delete | |
| UniformTranslation (UniformTranslation &&) noexcept=default | |
| UniformTranslation & | operator= (const UniformTranslation &)=delete |
| UniformTranslation & | operator= (UniformTranslation &&) noexcept=default |
| UniformTranslation (double initial_time, std::optional< double > initial_expiration_delta_t, const std::array< double, MeshDim > &velocity, std::array< std::string, MeshDim > functions_of_time_names=default_function_names()) noexcept | |
| auto | get_clone () const noexcept -> std::unique_ptr< TimeDependence< MeshDim > > override |
Returns a std::unique_ptr pointing to a copy of the TimeDependence. More... | |
| auto | block_maps (size_t number_of_blocks) const noexcept -> std::vector< std::unique_ptr< domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, MeshDim > > > override |
Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block. More... | |
| auto | functions_of_time () const noexcept -> std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > override |
| Returns the functions of time for the domain. More... | |
| MapForComposition | map_for_composition () const noexcept |
Returns the map for each block to be used in a composition of TimeDependences. | |
Public Member Functions inherited from domain::creators::time_dependence::TimeDependence< MeshDim > | |
| TimeDependence (const TimeDependence &)=default | |
| TimeDependence & | operator= (const TimeDependence &)=default |
| TimeDependence (TimeDependence &&)=default | |
| TimeDependence & | operator= (TimeDependence &&)=default |
| bool | is_none () const noexcept |
Returns true if the instance is None, meaning no time dependence. | |
Static Public Attributes | |
| static constexpr size_t | mesh_dim = MeshDim |
| static constexpr Options::String | help |
Friends | |
| template<size_t LocalDim> | |
| bool | operator== (const UniformTranslation< LocalDim > &lhs, const UniformTranslation< LocalDim > &rhs) noexcept |
A uniform translation in the \(x-, y-\) and \(z-\)direction.
The coordinates are adjusted according to:
\begin{align} x^i \to x^i + f^i(t) \end{align}
where \(f^i(t)\) are the functions of time.
|
overridevirtualnoexcept |
Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block.
Implements domain::creators::time_dependence::TimeDependence< MeshDim >.
|
overridevirtualnoexcept |
Returns the functions of time for the domain.
Implements domain::creators::time_dependence::TimeDependence< MeshDim >.
|
overridevirtualnoexcept |
Returns a std::unique_ptr pointing to a copy of the TimeDependence.
Implements domain::creators::time_dependence::TimeDependence< MeshDim >.
|
staticconstexpr |