Crystal#
Class#
|
Crystal class. |
Properties#
Hint
All properties and methods of Lattice are accessible directly from the crystal instance.
Unless they are defined directly for the Crystal and listed here.
The following interfaces are identical:
>>> import radtools as rad
>>> c = rad.Crystal()
>>> c.a
1.0
>>> c.lattice.a
1.0
Lattice of the crystal. |
Atom methods#
|
Add atom to the crystall. |
|
Remove atom from the crystal. |
Positioning#
|
Getter for the atom coordinates. |
|
Getter for distance between the atom1 and atom2. |
|
Getter for vector between the atom1 and atom2. |
Defining the type#
|
Identify Bravais lattice type. |
Detect primitive cell. |
Energy properties#
|
Computes magnetic dipole-dipole energy. |
|
Converge magnetic dipole-dipole energy. |