Skip to main content

site_position_in

Function site_position_in 

Source
pub fn site_position_in(e: [f64; 3], cell: [i64; 3], f: [f64; 3]) -> [f64; 3]
Expand description

Position of site f (fractions of the cell edges) in cell cell of the rectangular cell with edges e: e_k (cell_k + f_k) per axis. Shared by the search and by reference scans.