mirror of
https://github.com/triqs/dft_tools
synced 2024-06-30 00:44:34 +02:00
Minor fix to U_matrix
This commit is contained in:
parent
cd64a89311
commit
b459ce7b8c
|
@ -60,7 +60,7 @@ def reduce_4index_to_2index(U_4index):
|
||||||
return U, Uprime
|
return U, Uprime
|
||||||
|
|
||||||
# Construct the 2-index matrices for the density-density form
|
# Construct the 2-index matrices for the density-density form
|
||||||
def U_matrix_kanamori(n_orb, U_int=None, J_hund=None):
|
def U_matrix_kanamori(n_orb, U_int, J_hund):
|
||||||
"""Calculate the Kanamori U and Uprime matrices."""
|
"""Calculate the Kanamori U and Uprime matrices."""
|
||||||
|
|
||||||
U = np.zeros((n_orb,n_orb),dtype=float) # matrix for same spin
|
U = np.zeros((n_orb,n_orb),dtype=float) # matrix for same spin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user