![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Sod tube analytical solution adapted from a script of Leodasce Sewanou. More...
#include "shamphys/SedovTaylor.hpp"#include <array>#include <cstddef>#include <limits>#include "sedov_soluce_arrays.hpp"
Include dependency graph for SedovTaylor.cpp:Go to the source code of this file.
Functions | |
| template<typename T , typename arr_t > | |
| std::array< size_t, 2 > | get_closest_range (const arr_t &arr, const T &val, size_t size) |
| template<typename T , typename arr_t > | |
| T | linear_interpolate (const arr_t &arr_x, const arr_t &arr_y, size_t arr_size, const T &x) |
Variables | |
| size_t | ntheoval = sizeof(r_theo) / sizeof(r_theo[0]) |
Sod tube analytical solution adapted from a script of Leodasce Sewanou.
Definition in file SedovTaylor.cpp.
| std::array< size_t, 2 > get_closest_range | ( | const arr_t & | arr, |
| const T & | val, | ||
| size_t | size | ||
| ) |
Definition at line 22 of file SedovTaylor.cpp.
| T linear_interpolate | ( | const arr_t & | arr_x, |
| const arr_t & | arr_y, | ||
| size_t | arr_size, | ||
| const T & | x | ||
| ) |
Definition at line 48 of file SedovTaylor.cpp.
|
inline |
Definition at line 74 of file SedovTaylor.cpp.