wulfric.crystal#
Basic manipulations#
|
Computes a vector from atom1 (from (0,0,0)) to atom2 (from (i,j,k)). |
|
Computes distance between atom1 (from (0,0,0)) and atom2 (from (i,j,k)). |
|
Ensures that all atoms are from (0,0,0) unit cell. |
|
Shifts all atoms with the same vector in a way that the |
|
Shifts all atoms with the same vector in a way that all relative coordinates becomes non-negative. |
Atoms#
|
Attempts to identify atom's type based on its name (i.e. Cr1 -> Cr, ...). |
|
Populate atom species, based on their names. |
|
Ensures that atoms have unique |
Standardization#
|
Standardize cell with respect to the Bravais lattice type as defined in [R5a16871852d6-1] and update atom's relative coordinates. |