SpECTRE  v2021.12.06
Burgers::Solutions::Linear Class Reference

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 &)=delete
 
Linearoperator= (const Linear &)=delete
 
 Linear (Linear &&)=default
 
Linearoperator= (Linear &&)=default
 
 Linear (double shock_time)
 
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::Uvariables (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)
 

Static Public Attributes

static constexpr Options::String help {"A spatially linear solution"}
 

Detailed Description

A solution that is linear in space at all times.

\(u(x, t) = x / (t - t_0)\) where \(t_0\) is the shock time.


The documentation for this class was generated from the following file: