![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Collaboration diagram for shammodels::basegodunov::SolverConfig< Tvec, TgridVec >:Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
| using | AMRBlock = amr::AMRBlock< Tvec, TgridVec, NsideBlockPow > |
| using | SolverStatusVar = SolverStatusVar< Tvec > |
| Alias to SolverStatusVar type. | |
Public Member Functions | |
| void | set_eos_gamma (Tscal gamma) |
| bool | should_compute_rho_mean () |
| bool | is_dust_on () |
| void | set_alphas_static (f32 alpha_values) |
| bool | is_gas_passive_scalar_on () |
| Tscal | get_constant_G () |
| bool | is_boundary_periodic () |
| Tscal | get_constant_4piG () |
| Tscal | get_grav_tol () |
| bool | is_gravity_on () |
| bool | is_coordinate_field_required () |
| void | set_units (shamunits::UnitSystem< Tscal > new_sys) |
| Set the unit system of the simulation. | |
| void | set_time (Tscal t) |
| Set the current time. | |
| void | set_next_dt (Tscal dt) |
| Set the time step for the next iteration. | |
| Tscal | get_time () |
| Get the current time. | |
| Tscal | get_dt () |
| Get the time step for the next iteration. | |
| void | check_config () |
| void | set_layout (shamrock::patch::PatchDataLayerLayout &pdl) |
Public Attributes | |
| Tscal | eos_gamma = 5. / 3. |
| Tscal | grid_coord_to_pos_fact = 1 |
| RiemannSolverMode | riemann_config = HLL |
| SlopeMode | slope_config = VanLeer_sym |
| bool | face_half_time_interpolation = true |
| DustConfig | dust_config {} |
| DragConfig | drag_config {} |
| BCConfig | bc_config {} |
| PassiveScalarGasConfig | npscal_gas_config {} |
| GravityConfig< Tvec > | gravity_config {} |
| AMRMode< Tvec, TgridVec > | amr_mode = {} |
| AMR refinement mode. | |
| std::optional< shamunits::UnitSystem< Tscal > > | unit_sys = {} |
| The unit system of the simulation. | |
| PatchSchedulerConfig | scheduler_conf = {} |
| SolverStatusVar | time_state |
| The time sate of the simulation. | |
| Tscal | Csafe = 0.9 |
Static Public Attributes | |
| static constexpr u32 | NsideBlockPow = 1 |
Definition at line 145 of file SolverConfig.hpp.
| using shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::AMRBlock = amr::AMRBlock<Tvec, TgridVec, NsideBlockPow> |
Definition at line 154 of file SolverConfig.hpp.
| using shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::SolverStatusVar = SolverStatusVar<Tvec> |
Alias to SolverStatusVar type.
Definition at line 245 of file SolverConfig.hpp.
| using shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 147 of file SolverConfig.hpp.
|
inline |
Definition at line 262 of file SolverConfig.hpp.
|
inline |
Definition at line 210 of file SolverConfig.hpp.
|
inline |
Definition at line 199 of file SolverConfig.hpp.
|
inline |
Get the time step for the next iteration.
Definition at line 255 of file SolverConfig.hpp.
|
inline |
Definition at line 214 of file SolverConfig.hpp.
|
inline |
Get the current time.
Definition at line 253 of file SolverConfig.hpp.
|
inline |
Definition at line 208 of file SolverConfig.hpp.
|
inline |
Definition at line 216 of file SolverConfig.hpp.
|
inline |
Definition at line 171 of file SolverConfig.hpp.
|
inline |
Definition at line 191 of file SolverConfig.hpp.
|
inline |
Definition at line 215 of file SolverConfig.hpp.
|
inline |
Definition at line 174 of file SolverConfig.hpp.
|
inline |
Definition at line 156 of file SolverConfig.hpp.
|
inline |
Definition at line 31 of file SolverConfig.cpp.
|
inline |
Set the time step for the next iteration.
Definition at line 251 of file SolverConfig.hpp.
|
inline |
Set the current time.
Definition at line 249 of file SolverConfig.hpp.
|
inline |
Set the unit system of the simulation.
Definition at line 233 of file SolverConfig.hpp.
|
inline |
Definition at line 162 of file SolverConfig.hpp.
| AMRMode<Tvec, TgridVec> shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::amr_mode = {} |
AMR refinement mode.
Definition at line 223 of file SolverConfig.hpp.
| BCConfig shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::bc_config {} |
Definition at line 183 of file SolverConfig.hpp.
| Tscal shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::Csafe = 0.9 |
Definition at line 257 of file SolverConfig.hpp.
| DragConfig shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::drag_config {} |
Definition at line 169 of file SolverConfig.hpp.
| DustConfig shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::dust_config {} |
Definition at line 168 of file SolverConfig.hpp.
| Tscal shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::eos_gamma = 5. / 3. |
Definition at line 149 of file SolverConfig.hpp.
| bool shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::face_half_time_interpolation = true |
Definition at line 160 of file SolverConfig.hpp.
| GravityConfig<Tvec> shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::gravity_config {} |
Definition at line 209 of file SolverConfig.hpp.
| Tscal shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::grid_coord_to_pos_fact = 1 |
Definition at line 151 of file SolverConfig.hpp.
| PassiveScalarGasConfig shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::npscal_gas_config {} |
Definition at line 189 of file SolverConfig.hpp.
|
staticconstexpr |
Definition at line 153 of file SolverConfig.hpp.
| RiemannSolverMode shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::riemann_config = HLL |
Definition at line 158 of file SolverConfig.hpp.
| PatchSchedulerConfig shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::scheduler_conf = {} |
Definition at line 238 of file SolverConfig.hpp.
| SlopeMode shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::slope_config = VanLeer_sym |
Definition at line 159 of file SolverConfig.hpp.
| SolverStatusVar shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::time_state |
The time sate of the simulation.
Definition at line 247 of file SolverConfig.hpp.
| std::optional<shamunits::UnitSystem<Tscal> > shammodels::basegodunov::SolverConfig< Tvec, TgridVec >::unit_sys = {} |
The unit system of the simulation.
Definition at line 230 of file SolverConfig.hpp.