quickham(obj,J) generates the bonds from the predefined crystal
structure and assigns exchange values to bonds such as
J(1) to first
J(2) for second neighbor etc. The command will erase all
previous bonds, anisotropy, g-tensor and matrix definitions. Even if
J(idx) == 0, the corresponding bond and matrix will be created.
- spinw object.
- Vector that contains the Heisenberg exchange values.
J(1)for first neighbor bonds, etc.