spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
118 stars 52 forks source link

HTST: SP with more than 1 negative EW #451

Closed SpiritSuperUser closed 5 years ago

SpiritSuperUser commented 6 years ago

while a stable SP can in principle have more than one negative eigenvalue, calculating the HTST prefactor does not make sense in this case. Right now, the eigenvalues for the minimum and the SP are calculated and then the prefactor calculation follows but results in a nan. To optimize computing time it would be best to calculate first the EWs of the SP and just stop directly if 2 or more EWs are negative.

GPMueller commented 5 years ago

Implemented with 82303eea3fc3d858108581e1d014da638b4e5db4.