#[repr(C)]pub struct atmosphere {Show 28 fields
pub photometric_band: *mut c_char,
pub wavelength: f32,
pub r0: f32,
pub wavenumber: f32,
pub N_LAYER: c_int,
pub field_size: f32,
pub layers_OSF: c_int,
pub layers_duration: f32,
pub layers_tau0: f32,
pub W: f32,
pub N_W: c_int,
pub phase_screen_LAYER: *mut f32,
pub N_DURATION: c_int,
pub LOCAL_RAND_SEED: c_int,
pub ID: c_int,
pub EPH: f32,
pub d__phase_screen_LAYER: *mut f32,
pub N_PHASE_LAYER: c_ulong,
pub mmap_size: usize,
pub zeta1: *mut f32,
pub eta1: *mut f32,
pub zeta2: *mut f32,
pub eta2: *mut f32,
pub devStates: *mut curandState,
pub turbulence: profile,
pub d__turbulence: *mut profile,
pub layers: *mut layer,
pub d__layers: *mut layer,
}Fields§
§photometric_band: *mut c_char§wavelength: f32§r0: f32§wavenumber: f32§N_LAYER: c_int§field_size: f32§layers_OSF: c_int§layers_duration: f32§layers_tau0: f32§W: f32§N_W: c_int§phase_screen_LAYER: *mut f32§N_DURATION: c_int§LOCAL_RAND_SEED: c_int§ID: c_int§EPH: f32§d__phase_screen_LAYER: *mut f32§N_PHASE_LAYER: c_ulong§mmap_size: usize§zeta1: *mut f32§eta1: *mut f32§zeta2: *mut f32§eta2: *mut f32§devStates: *mut curandState§turbulence: profile§d__turbulence: *mut profile§layers: *mut layer§d__layers: *mut layerImplementations§
Source§impl atmosphere
impl atmosphere
pub unsafe fn setup( &mut self, r0_: f32, L0: f32, N_LAYER: c_int, altitude: *mut f32, xi0: *mut f32, wind_speed: *mut f32, wind_direction: *mut f32, )
pub unsafe fn setup1( &mut self, r0_: f32, L0: f32, N_LAYER: c_int, altitude: *mut f32, xi0: *mut f32, wind_speed: *mut f32, wind_direction: *mut f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, )
pub unsafe fn setup2( &mut self, r0_: f32, L0: f32, _NLAYER: c_int, altitude: *mut f32, xi0: *mut f32, wind_speed: *mut f32, wind_direction: *mut f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, fullpath_to_phasescreens: *const c_char, _N_DURATION: c_int, )
pub unsafe fn gmt_setup(&mut self)
pub unsafe fn gmt_setup1(&mut self, r0_: f32, L0: f32)
pub unsafe fn gmt_setup2( &mut self, r0_: f32, L0: f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, )
pub unsafe fn gmt_setup3( &mut self, r0_: f32, L0: f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, fullpath_to_phasescreens: *const c_char, _N_DURATION: c_int, )
pub unsafe fn gmt_setup4(&mut self, r0_: f32, L0: f32, _RAND_SEED_: c_int)
pub unsafe fn gmt_setup5( &mut self, r0_: f32, L0: f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, _RAND_SEED_: c_int, )
pub unsafe fn gmt_setup6( &mut self, r0_: f32, L0: f32, _L_: f32, _NXY_PUPIL_: c_int, field_size: f32, duration: f32, fullpath_to_phasescreens: *const c_char, _N_DURATION: c_int, _RAND_SEED_: c_int, )
pub unsafe fn gmt_set_id(&mut self, _ID_: c_int)
pub unsafe fn gmt_set_eph(&mut self, _EPH_: f32)
pub unsafe fn cleanup(&mut self)
pub unsafe fn info(&mut self)
pub unsafe fn reset(&mut self)
pub unsafe fn save_layer_phasescreens( &mut self, fullpath_to_phasescreens: *const c_char, _N_DURATION: c_int, )
pub unsafe fn get_phase_screen( &mut self, phase_screen: *mut f32, x: *const f32, y: *const f32, N_xy: c_int, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen1( &mut self, x: *const f32, y: *const f32, N_xy: c_int, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen2( &mut self, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen3( &mut self, phase_screen: *mut f32, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen4( &mut self, src: *mut source, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, time: f32, )
pub unsafe fn get_phase_screen5( &mut self, src: *mut source, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, time: f32, exponent: f32, )
pub unsafe fn get_phase_screen6( &mut self, src: *mut source, N_SRC: c_int, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, time: f32, )
pub unsafe fn get_phase_screen7(&mut self, src: *mut source, time: f32)
pub unsafe fn get_phase_screen_gradient( &mut self, sx: *mut f32, sy: *mut f32, x: *mut f32, y: *mut f32, Nxy: c_int, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen_gradient1( &mut self, sx: *mut f32, sy: *mut f32, NL: c_int, d: f32, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen_gradient2( &mut self, sx: *mut f32, sy: *mut f32, NL: c_int, valid_lenslet: *mut c_char, d: f32, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen_gradient3( &mut self, cog: *mut centroiding, NL: c_int, d: f32, src: *mut source, time: f32, )
pub unsafe fn get_phase_screen_gradient_rolling_shutter( &mut self, cog: *mut centroiding, NL: c_int, d: f32, src: *mut source, time: f32, delay: f32, )
pub unsafe fn get_phase_screen_gradient4( &mut self, cog: *mut centroiding, NL: c_int, d: f32, src: *mut source, N_SRC: c_int, time: f32, )
pub unsafe fn get_phase_screen_gradient5( &mut self, cog: *mut centroiding, NL: c_int, valid_lenslet: *mut c_char, d: f32, src: *mut source, N_SRC: c_int, time: f32, )
pub unsafe fn get_phase_screen_circ_centroids( &mut self, cog: *mut centroiding, R: f32, src: *mut source, N_SRC: c_int, time: f32, )
pub unsafe fn get_phase_screen_circ_uplink_centroids( &mut self, cog: *mut centroiding, R: f32, src: *mut source, N_SRC: c_int, time: f32, focused: c_char, )
pub unsafe fn rayTracing( &mut self, x_PUPIL: *const f32, y_PUPIL: *const f32, phase_screen_PUPIL: *mut f32, NXY_PUPIL: c_int, src: *const source, tau: f32, )
pub unsafe fn rayTracing1( &mut self, src: *mut source, delta_x: f32, N_X: c_int, delta_y: f32, N_Y: c_int, tau: f32, )
Trait Implementations§
Source§impl Clone for atmosphere
impl Clone for atmosphere
Source§fn clone(&self) -> atmosphere
fn clone(&self) -> atmosphere
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 atmosphere
impl Debug for atmosphere
Source§impl Default for atmosphere
impl Default for atmosphere
impl Copy for atmosphere
impl Send for atmosphere
Auto Trait Implementations§
impl Freeze for atmosphere
impl RefUnwindSafe for atmosphere
impl !Sync for atmosphere
impl Unpin for atmosphere
impl UnsafeUnpin for atmosphere
impl UnwindSafe for atmosphere
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