#[repr(C)]pub struct reb_ode {Show 17 fields
pub length: c_uint,
pub y: *mut f64,
pub needs_nbody: c_uint,
pub ref_: *mut c_void,
pub derivatives: Option<unsafe extern "C" fn(ode: *mut reb_ode, yDot: *mut f64, y: *const f64, t: f64)>,
pub getscale: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64, y1: *const f64)>,
pub pre_timestep: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64)>,
pub post_timestep: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64)>,
pub N_allocated: usize,
pub scale: *mut f64,
pub C: *mut f64,
pub D: *mut *mut f64,
pub y1: *mut f64,
pub y0Dot: *mut f64,
pub yDot: *mut f64,
pub yTmp: *mut f64,
pub r: *mut reb_simulation,
}Fields§
§length: c_uint§y: *mut f64§needs_nbody: c_uint§ref_: *mut c_void§derivatives: Option<unsafe extern "C" fn(ode: *mut reb_ode, yDot: *mut f64, y: *const f64, t: f64)>§getscale: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64, y1: *const f64)>§pre_timestep: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64)>§post_timestep: Option<unsafe extern "C" fn(ode: *mut reb_ode, y0: *const f64)>§N_allocated: usize§scale: *mut f64§C: *mut f64§D: *mut *mut f64§y1: *mut f64§y0Dot: *mut f64§yDot: *mut f64§yTmp: *mut f64§r: *mut reb_simulationTrait Implementations§
Auto Trait Implementations§
impl Freeze for reb_ode
impl RefUnwindSafe for reb_ode
impl !Send for reb_ode
impl !Sync for reb_ode
impl Unpin for reb_ode
impl UnsafeUnpin for reb_ode
impl UnwindSafe for reb_ode
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