Skip to main content

cell_for_pbc

Function cell_for_pbc 

Source
pub fn cell_for_pbc(
    rows: [[f64; 3]; 3],
    origin: [f64; 3],
    periodic: [bool; 3],
) -> Result<Cell, Error>
Expand description

Lattice for periodic. A zero row on an open axis is replaced by a unit axis so the periodic rows still define a cell. A fully open mask does not read rows.