SpECTRE
v2024.12.16
|
A solution that is linear in space at all times. More...
#include <Linear.hpp>
Classes | |
struct | ShockTime |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Linear (const Linear &)=default | |
Linear & | operator= (const Linear &)=default |
Linear (Linear &&)=default | |
Linear & | operator= (Linear &&)=default |
Linear (double shock_time) | |
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 spatially linear solution"} |
A solution that is linear in space at all times.
|
overridevirtual |
Implements evolution::initial_data::InitialData.