Periodic boundary conditions#

Get angles from box

Getting the angles of a PBC box

Get box from lengths and angles

Getting the PBC box defined by its lengths and angles

Get box with shape

Constructing a PBC box matrix for a given shape

Get lengths and angles from box

Getting the lengths and angles of a PBC box

Get lengths from box

Getting the lengths of a PBC box

Get shape from angles

Getting the shape of a PBC box defined by its angles

Get shape from box

Getting the shape of a PBC box

Get volume from box

Getting the volume of a PBC box

Get volume from lengths and angles

Getting the volume of a PBC box defined by its lengths and angles

Has PBC

Checking if a molecular system has PBC

Unwrap

Unwrapping coordinates across periodic boundaries to restore spatial continuity

Wrap to MIC

Wrapping coordinates into the Minimum Image Convention (MIC) box

Wrap to PBC

Wrapping coordinates into the primary periodic unit cell