pub struct OrbitJidokaConfig {
pub check_finite: bool,
pub check_energy: bool,
pub energy_tolerance: f64,
pub energy_warning_fraction: f64,
pub check_angular_momentum: bool,
pub angular_momentum_tolerance: f64,
pub check_close_encounters: bool,
pub close_encounter_threshold: f64,
pub max_warnings_before_pause: usize,
}Expand description
Jidoka configuration for orbital simulation.
Fields§
§check_finite: boolCheck for non-finite values.
check_energy: boolCheck energy conservation.
energy_tolerance: f64Energy drift tolerance (relative).
energy_warning_fraction: f64Energy warning threshold (fraction of tolerance).
check_angular_momentum: boolCheck angular momentum conservation.
angular_momentum_tolerance: f64Angular momentum tolerance (relative).
check_close_encounters: boolCheck for close encounters.
close_encounter_threshold: f64Close encounter threshold (meters).
max_warnings_before_pause: usizeMaximum warnings before pausing.
Trait Implementations§
Source§impl Clone for OrbitJidokaConfig
impl Clone for OrbitJidokaConfig
Source§fn clone(&self) -> OrbitJidokaConfig
fn clone(&self) -> OrbitJidokaConfig
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 moreSource§impl Debug for OrbitJidokaConfig
impl Debug for OrbitJidokaConfig
Source§impl Default for OrbitJidokaConfig
impl Default for OrbitJidokaConfig
Source§impl<'de> Deserialize<'de> for OrbitJidokaConfig
impl<'de> Deserialize<'de> for OrbitJidokaConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OrbitJidokaConfig
impl RefUnwindSafe for OrbitJidokaConfig
impl Send for OrbitJidokaConfig
impl Sync for OrbitJidokaConfig
impl Unpin for OrbitJidokaConfig
impl UnsafeUnpin for OrbitJidokaConfig
impl UnwindSafe for OrbitJidokaConfig
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