|
SpECTRE
2021.08.02
|
A spherical compression about some center, as given by domain::CoordinateMaps::TimeDependent::SphericalCompression<false>. More...
#include <SphericalCompression.hpp>
Classes | |
| struct | Center |
| Center for the SphericalCompression map. More... | |
| struct | FunctionOfTimeName |
| The name of the functions of time to be added to the added to the DataBox for the spherical compression. More... | |
| struct | InitialAcceleration |
| Initial radial acceleration for the function of time for the spherical compression. More... | |
| struct | InitialExpirationDeltaT |
| The time interval for updates of the functions of time. More... | |
| struct | InitialTime |
| The initial time of the function of time. More... | |
| struct | InitialValue |
| Initial value for function of time for the spherical compression. More... | |
| struct | InitialVelocity |
| Initial radial velocity for the function of time for the spherical compression. More... | |
| struct | MaxRadius |
| Maximum radius for the SphericalCompression map. More... | |
| struct | MinRadius |
| Minimum radius for the SphericalCompression map. More... | |
Public Types | |
| using | maps_list = tmpl::list< domain::CoordinateMap< Frame::Grid, Frame::Inertial, SphericalCompressionMap > > |
| using | MapForComposition = detail::generate_coordinate_map_t< tmpl::list< SphericalCompressionMap > > |
| using | options = tmpl::list< InitialTime, InitialExpirationDeltaT, MinRadius, MaxRadius, Center, InitialValue, InitialVelocity, InitialAcceleration, FunctionOfTimeName > |
Public Types inherited from domain::creators::time_dependence::TimeDependence< 3 > | |
| using | creatable_classes = tmpl::append< creatable_classes_any_dim, tmpl::conditional_t< MeshDim==1, creatable_classes_1d, tmpl::conditional_t< MeshDim==2, creatable_classes_2d, creatable_classes_3d > > > |
Public Member Functions | |
| SphericalCompression (const SphericalCompression &)=delete | |
| SphericalCompression (SphericalCompression &&) noexcept=default | |
| SphericalCompression & | operator= (const SphericalCompression &)=delete |
| SphericalCompression & | operator= (SphericalCompression &&) noexcept=default |
| SphericalCompression (double initial_time, std::optional< double > initial_expiration_delta_t, double min_radius, double max_radius, std::array< double, 3 > center, double initial_value, double initial_velocity, double initial_acceleration, std::string function_of_time_name="LambdaFactorA0", const Options::Context &context={}) | |
| auto | get_clone () const noexcept -> std::unique_ptr< TimeDependence< mesh_dim > > 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, mesh_dim > > > 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< 3 > | |
| TimeDependence (const TimeDependence &)=default | |
| TimeDependence (TimeDependence &&)=default | |
| TimeDependence & | operator= (const 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 = 3 |
| static constexpr Options::String | help = {"A spherical compression."} |
Friends | |
| bool | operator== (const SphericalCompression &lhs, const SphericalCompression &rhs) noexcept |
A spherical compression about some center, as given by domain::CoordinateMaps::TimeDependent::SphericalCompression<false>.
This TimeDependence is suitable for use on a spherical shell, where MinRadius and MaxRadius are the inner and outer radii of the shell, respectively.
|
overridevirtualnoexcept |
Returns the coordinate maps from the Frame::Grid to the Frame::Inertial frame for each block.
Implements domain::creators::time_dependence::TimeDependence< 3 >.
|
overridevirtualnoexcept |
Returns the functions of time for the domain.
Implements domain::creators::time_dependence::TimeDependence< 3 >.
|
overridevirtualnoexcept |
Returns a std::unique_ptr pointing to a copy of the TimeDependence.
Implements domain::creators::time_dependence::TimeDependence< 3 >.