xnn.ffnn.models.gfnfflib.fractional#

xnn.ffnn.models.gfnfflib.fractional(pos, cell)[source]#

Fractional coordinates as the wrapping rule sees them: positions in Bohr times the cofactor inverse of the lattice (rows are the lattice vectors, the cofactors times the reciprocal determinant), summed component by component; atoms on a cell face fall on the side this arithmetic gives.