pub fn mark_reached(
xyz: &[[f64; 3]],
lengths: [f64; 3],
nxyz: [i32; 3],
assign: &[u32],
point_cell: &[u32],
hwidth: [u32; 3],
domain: u32,
reach: f64,
) -> Result<Vec<u8>, Error>Expand description
Mark points owned by domain or within reach of one of its atoms.
The cell stencil from hwidth is only the candidate list. A point in
a painted cell is kept when its minimum image to an owned atom is at
most reach. Owned points are 2. Reached ghosts are 1.