Skip to main content

lc_within_reach

Function lc_within_reach 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lc_within_reach( xyz: *const f64, n: usize, lengths: *const f64, nxyz: *const c_int, assign: *const c_int, ncell: usize, point_cell: *const c_int, hwidth: *const u32, domain: c_int, reach: f64, out_hit: *mut c_int, ) -> c_int
Expand description

Owned points are 2. Ghosts within reach of an owned atom are 1.

ยงSafety

xyz is readable for n * 3 doubles. lengths and nxyz are readable for 3 entries. assign is readable for ncell ints. point_cell is readable for n ints. hwidth is readable for 3 counts. out_hit is writable for n ints.