Skip to main content

curve_split_device

Function curve_split_device 

Source
pub fn curve_split_device(
    xyz: &[[f64; 3]],
    sim: &Cell,
    cutoff: f64,
    mask: Option<&[bool]>,
    cell_hint: Option<f64>,
    parts: u32,
    method: Method,
) -> Result<Vec<u32>, Error>
Expand description

Curve split on the device, including the copies both ways.

The result is the prefix assignment, with no refinement pass. Error::NoDevice means the driver is absent. A mismatch with the host histogram is Error::DeviceMismatch.