wulfric.crystal#
Atom's modification#
|
Ensures that all atoms are within (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. |
Atom's properties#
|
Attempts to identify atom's species based on its name (i.e. Cr1 -> Cr, ...). |
|
Attempts to identify atoms species based on their names (i.e. Cr1 -> Cr, ...). |
|
Ensures that atoms have unique |
Crystal's properties#
|
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)). |
Validation of the data#
|
Validate keys and values of the atoms dictionary. |
Choice of the cell#
|
Return conventional cell and atoms associated with the given |
|
Return primitive cell and atoms associated with the given |
HPKOT [1] convention#
|
Returns an example of the crystal structure for each of the given extended Bravais lattice symbol as defined in [R3255d3b36b54-1]. |
|
Returns extended bravais lattice symbol as defined in the paper by Hinuma, Pizzi, Kumagai, Oba, and Tanaka [Reac59ab78e89-1]. |
SC convention [2]#
|
Return variation of the lattice as defined in the paper by Setyawan and Curtarolo [R6d38e3fe5dda-1]. |