Added methods for straining the unit cell, and allso straining a configuration, correctly handling the coordinates for an affine transformation. In the future will add e.g. affine transformation of the centers of molecules, which is useful for molecular fluids.
This pull request introduces 1 alert when merging 143621444d5d376f350ff25849245f4d7688b1c6 into 8a81a382de1421cf79c0e5d4925a3b01e32ba96b - view on LGTM.com
Added methods for straining the unit cell, and allso straining a configuration, correctly handling the coordinates for an affine transformation. In the future will add e.g. affine transformation of the centers of molecules, which is useful for molecular fluids.