You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
has the expression of a vector where the index is taken from using an other vector. However, if the Hamiltonian is block-diagonal, the index_queue doesn't contain all the indices to connect all the sites to each other. In essence, you could only reorder for one 'block'. If the matrix is block-diagonal, is would be faster to treat the system in separate calculations. However, this can create strange segmentation errors if for example the hopping parameter between two different systems is changed and goes through zero.
An easy fix is to assign the value of 'row' to the first nonzero integer not in index_queue, and also add this integer to the slice_border_indices-vector. This fix works, and will be added in a future release.
The text was updated successfully, but these errors were encountered:
Currenlty, all the bug related to the KPM method are solved. The bugs originated from block-diagonal systems, and systems where there were rows/columns with zeros or where the first diagonal-element of a block-diagonal section was zero.
Also, the function KPM.calc_spatial_ldos now works with multi-orbital models.
To install this updated version, please use pip uninstall pybinding and pip install git+https://github.com/BertJorissen/pybinding.
pybinding/cppcore/src/kpm/OptimizedHamiltonian.cpp
Line 112 in ec1128a
An easy fix is to assign the value of 'row' to the first nonzero integer not in index_queue, and also add this integer to the slice_border_indices-vector. This fix works, and will be added in a future release.
The text was updated successfully, but these errors were encountered: