Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
shamphys::SedovTaylor Class Reference

Represents a Sedov-Taylor solution, a self-similar solution to the hydrodynamic equations describing a blast wave. More...

#include <shamphys/include/shamphys/SedovTaylor.hpp>

Classes

struct  field_val
 Field values at a given position. More...
 

Public Member Functions

field_val get_value (f64 x)
 Compute field values at radial distance x.
 

Detailed Description

Represents a Sedov-Taylor solution, a self-similar solution to the hydrodynamic equations describing a blast wave.

This class provides a way to calculate the values of density, velocity, and pressure at a given time and position using the Sedov-Taylor solution.

gamma = 5./3. t = 0.1 \int u_inj = 1

Definition at line 34 of file SedovTaylor.hpp.

Constructor & Destructor Documentation

◆ SedovTaylor()

shamphys::SedovTaylor::SedovTaylor ( )
inline

Definition at line 36 of file SedovTaylor.hpp.

Member Function Documentation

◆ get_value()

auto shamphys::SedovTaylor::get_value ( f64  x)

Compute field values at radial distance x.

Parameters
xRadial distance from blast center
Returns
field_val Structure containing density, velocity, and pressure

Definition at line 76 of file SedovTaylor.cpp.


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