#[unsafe(no_mangle)]pub unsafe extern "C" fn lc_mesh_cut(
xyz: *const f64,
n: usize,
simbox: *const lc_cell,
cutoff: f64,
mask: *const c_int,
cell_hint: f64,
parts: usize,
method: u8,
balance: f64,
device: c_int,
out_nxyz: *mut c_int,
out_width: *mut f64,
out_domain: *mut c_int,
out_point_cell: *mut c_int,
cap_cell: usize,
cap_point: usize,
out_ncell: *mut usize,
) -> c_intExpand description
Domain of each cell and the bin of each point, from one mesh cut.
method and balance follow lc_partition. A null out_domain
queries *out_ncell and does not write. On a fill, out_nxyz is
three ints, out_width is three bin widths, out_domain is one
domain per cell, and out_point_cell is one bin per point.
ยงSafety
Same point contract as lc_cell_grid. On a fill, out_domain is
writable for *out_ncell ints and out_point_cell for n ints.