pub struct SimulationResult {
pub final_state: NBodyState,
pub steps: u64,
pub warnings: u64,
pub paused: bool,
pub energy_error: f64,
pub angular_momentum_error: f64,
pub sim_time: f64,
}Expand description
Result of running a simulation.
Fields§
§final_state: NBodyStateFinal simulation state.
steps: u64Number of steps completed.
warnings: u64Number of warnings encountered.
paused: boolWhether simulation was paused due to Jidoka violation.
energy_error: f64Relative energy error.
angular_momentum_error: f64Relative angular momentum error.
sim_time: f64Simulated time (seconds).
Trait Implementations§
Source§impl Clone for SimulationResult
impl Clone for SimulationResult
Source§fn clone(&self) -> SimulationResult
fn clone(&self) -> SimulationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SimulationResult
impl RefUnwindSafe for SimulationResult
impl Send for SimulationResult
impl Sync for SimulationResult
impl Unpin for SimulationResult
impl UnsafeUnpin for SimulationResult
impl UnwindSafe for SimulationResult
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