pub enum Command {
Solve(SolveOpts),
Sweep(SweepOpts),
Greens(GreensOpts),
Info(InfoOpts),
PhysicsHash,
PhotonSweep(PhotonSweepOpts),
PhotonSweepBatch(PhotonSweepBatchOpts),
Help,
}Expand description
Top-level command parsed from CLI args.
Variants§
Solve(SolveOpts)
Run a single PDE solve with a specific injection scenario.
Sweep(SweepOpts)
Run a sweep over multiple injection redshifts.
Greens(GreensOpts)
Run a Green’s function calculation (no PDE).
Info(InfoOpts)
Print cosmology/solver info.
PhysicsHash
Print the compile-time physics-source hash and exit.
PhotonSweep(PhotonSweepOpts)
Sweep over injection redshifts for a single photon injection frequency.
PhotonSweepBatch(PhotonSweepBatchOpts)
Batch sweep over multiple x_inj values, parallelizing all (x_inj, z_h) pairs.
Help
Print help text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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