|
SpECTRE
2021.08.02
|
A solution that is linear in space at all times. More...
#include <Linear.hpp>
Classes | |
| struct | ShockTime |
Public Types | |
| using | options = tmpl::list< ShockTime > |
Public Member Functions | |
| Linear (const Linear &) noexcept=delete | |
| Linear & | operator= (const Linear &) noexcept=delete |
| Linear (Linear &&) noexcept=default | |
| Linear & | operator= (Linear &&) noexcept=default |
| Linear (double shock_time) noexcept | |
| template<typename T > | |
| Scalar< T > | u (const tnsr::I< T, 1 > &x, double t) const noexcept |
| template<typename T > | |
| Scalar< T > | du_dt (const tnsr::I< T, 1 > &x, double t) const noexcept |
| tuples::TaggedTuple< Tags::U > | variables (const tnsr::I< DataVector, 1 > &x, double t, tmpl::list< Tags::U >) const noexcept |
| tuples::TaggedTuple<::Tags::dt< Tags::U > > | variables (const tnsr::I< DataVector, 1 > &x, double t, tmpl::list<::Tags::dt< Tags::U > >) const noexcept |
| void | pup (PUP::er &p) noexcept |
Static Public Attributes | |
| static constexpr Options::String | help {"A spatially linear solution"} |
A solution that is linear in space at all times.
\(u(x, t) = x / (t - t_0)\) where \(t_0\) is the shock time.