Crystal#
Class#
|
Crystal class. |
Hint
All properties and methods of Lattice are accessible directly from the crystal instance:
>>> import wulfric as wulf
>>> c = wulf.Crystal()
>>> c.a
1.0
>>> c.b
1.0
>>> c.c
1.0
Cell standardization#
Standardize cell with respect to the Bravais lattice type as defined in [R01e341c7223d-1]. |
Manipulations with atoms#
Crystal.atoms
|
Add atom to the crystal. |
|
Remove atom from the crystal. |
|
Return atom object of the crystal. |
|
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. |
Positioning of atoms#
|
Getter for the atom coordinates. |
|
Getter for distance between the atom1 and atom2. |
|
Getter for vector from atom1 to atom2. |
Primitive cell#
Detect primitive cell. |
Lattice getter#
Lattice of the crystal. |
Independent copy#
Copy of the crystal. |