Skip to main content

lc_owned_mask

Function lc_owned_mask 

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

Owned points are 2. Points in a cell painted from the owned walk are 1.

The stencil is the one crate::rank_mask paints while it visits the cells of domain. width is three bin radii.

ยงSafety

nxyz is readable for 3 ints. assign is readable for ncell ints. point_cell is readable for n ints. width is readable for 3 counts. out_hit is writable for n ints.