SpECTRE
v2024.12.16
|
A propagating shock between two constant states. More...
#include <Step.hpp>
Classes | |
struct | InitialPosition |
struct | LeftValue |
struct | RightValue |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Step (double left_value, double right_value, double initial_shock_position, const Options::Context &context={}) | |
Step (const Step &)=default | |
Step & | operator= (const Step &)=default |
Step (Step &&)=default | |
Step & | operator= (Step &&)=default |
auto | get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override |
template<typename T > | |
Scalar< T > | u (const tnsr::I< T, 1 > &x, double t) const |
template<typename T > | |
Scalar< T > | du_dt (const tnsr::I< T, 1 > &x, double t) const |
tuples::TaggedTuple< Tags::U > | variables (const tnsr::I< DataVector, 1 > &x, double t, tmpl::list< Tags::U >) const |
tuples::TaggedTuple<::Tags::dt< Tags::U > > | variables (const tnsr::I< DataVector, 1 > &x, double t, tmpl::list<::Tags::dt< Tags::U > >) const |
void | pup (PUP::er &p) override |
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
Static Public Attributes | |
static constexpr Options::String | help {"A propagating shock solution"} |
A propagating shock between two constant states.
The shock propagates left-to-right, with profile
step_function
.) Additionally, the time derivative
|
overridevirtual |
Implements evolution::initial_data::InitialData.