Skip to main content

wrap_many

Function wrap_many 

pub fn wrap_many(
    cell: &Cell,
    diffs: &[[f64; 3]],
    out: &mut [[f64; 3]],
) -> Result<(), Error>
Expand description

Minimum-image wrap of packed difference vectors.

diffs and out are row-major n triples. Each row is q - p (the cell origin does not enter).