3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-09 07:33:47 +01:00

Merge pull request #166 from jkarp314/patch-2

update SVO tutorial for dft tools 3
This commit is contained in:
Alexander Hampel 2021-02-25 13:51:37 -05:00 committed by GitHub
commit 550199fe97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,11 +144,10 @@ It consist of two parts:
The first step is done using methods of the :ref:`TRIQS <triqslibs:welcome>` library:: The first step is done using methods of the :ref:`TRIQS <triqslibs:welcome>` library::
n_orb = SK.corr_shells[0]['dim'] n_orb = SK.corr_shells[0]['dim']
l = SK.corr_shells[0]['l']
spin_names = ["up","down"] spin_names = ["up","down"]
orb_names = [i for i in range(n_orb)] orb_names = [i for i in range(n_orb)]
# Use GF structure determined by DFT blocks: # Use GF structure determined by DFT blocks:
gf_struct = [(block, indices) for block, indices in SK.gf_struct_solver[0].iteritems()] gf_struct = SK.gf_struct_solver_list[0]
# Construct U matrix for density-density calculations: # Construct U matrix for density-density calculations:
Umat, Upmat = U_matrix_kanamori(n_orb=n_orb, U_int=U, J_hund=J) Umat, Upmat = U_matrix_kanamori(n_orb=n_orb, U_int=U, J_hund=J)