pub struct SolveOpts {
pub injection_type: String,
pub params: HashMap<String, String>,
pub solver: SolverOpts,
pub cosmo: CosmoOpts,
pub output: OutputOpts,
}Expand description
Options for spectroxide solve <injection-type> [flags].
Fields§
§injection_type: StringInjection-scenario tag (positional, e.g. single-burst,
decaying-particle, photon). Drives which --params keys are
expected.
params: HashMap<String, String>Free-form key=value parameters specific to the chosen injection
(parsed downstream into the corresponding InjectionScenario variant).
solver: SolverOptsSolver tuning knobs (timestepping, grid, DC/BR diagnostics).
cosmo: CosmoOptsCosmology overrides (preset and/or individual parameters).
output: OutputOptsOutput format and destination.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolveOpts
impl RefUnwindSafe for SolveOpts
impl Send for SolveOpts
impl Sync for SolveOpts
impl Unpin for SolveOpts
impl UnwindSafe for SolveOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more