![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for shammodels::basegodunov::Model< Tvec, TgridVec >:Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
| using | Solver = Solver< Tvec, TgridVec > |
Public Member Functions | |
| Model (ShamrockCtx &ctx) | |
| void | init () |
| Initialise the model and all the related data structures (patch scheduler in particular) | |
| void | init_scheduler (u32 crit_split, u32 crit_merge) |
| void | make_base_grid (TgridVec bmin, TgridVec cell_size, u32_3 cell_count) |
| void | dump_vtk (std::string filename) |
| template<class T > | |
| void | set_field_value_lambda (std::string field_name, const std::function< T(Tvec, Tvec)> pos_to_val, const i32 offset) |
| std::pair< Tvec, Tvec > | get_cell_coords (std::pair< TgridVec, TgridVec > block_coords, u32 lid) |
| f64 | evolve_once_time_expl (f64 t_curr, f64 dt_input) |
| void | timestep () |
| void | evolve_once () |
| bool | evolve_until (Tscal target_time, i32 niter_max) |
| void | dump (std::string fname) |
| void | load_from_dump (std::string fname) |
| Load the state of the Godunov model from a dump file. | |
Public Attributes | |
| ShamrockCtx & | ctx |
| Solver | solver |
Static Public Attributes | |
| static constexpr u32 | dim = shambase::VectorProperties<Tvec>::dimension |
| using shammodels::basegodunov::Model< Tvec, TgridVec >::Solver = Solver<Tvec, TgridVec> |
| using shammodels::basegodunov::Model< Tvec, TgridVec >::Tscal = shambase::VecComponent<Tvec> |
|
inline |
|
inline |
| void shammodels::basegodunov::Model< Tvec, TgridVec >::dump_vtk | ( | std::string | filename | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void shammodels::basegodunov::Model< Tvec, TgridVec >::init | ( | ) |
|
inline |
|
inline |
| void shammodels::basegodunov::Model< Tvec, TgridVec >::make_base_grid | ( | TgridVec | bmin, |
| TgridVec | cell_size, | ||
| u32_3 | cell_count | ||
| ) |
|
inline |
|
inline |
| ShamrockCtx& shammodels::basegodunov::Model< Tvec, TgridVec >::ctx |
|
staticconstexpr |
| Solver shammodels::basegodunov::Model< Tvec, TgridVec >::solver |