shamrock.math.get_ideal_fcc_box#

shamrock.math.get_ideal_fcc_box(dr: float, box_min: f64_3, box_max: f64_3) → tuple[f64_3, f64_3]#

Get the smallest periodic box of a true FCC lattice (ABC stacking) containing the given box

Args:

dr: the particle spacing in the lattice (neighbours are 2 dr apart) box_min: lower corner of the box box_max: upper corner of the box