From 783dba2ae3a57d2a27c58e3ba6f2b0ae9d53b464 Mon Sep 17 00:00:00 2001 From: Jonathan Karp Date: Thu, 25 Feb 2021 12:41:57 -0500 Subject: [PATCH] update SVO tutorial for dft tools 3 I changed the expression for gf_struct so that it works with dft_tools 3. While I was at it, I took out the definition of 'l' since it's not used --- doc/tutorials/srvo3.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/tutorials/srvo3.rst b/doc/tutorials/srvo3.rst index 67f6e410..bf88edfa 100644 --- a/doc/tutorials/srvo3.rst +++ b/doc/tutorials/srvo3.rst @@ -144,11 +144,10 @@ It consist of two parts: The first step is done using methods of the :ref:`TRIQS ` library:: n_orb = SK.corr_shells[0]['dim'] - l = SK.corr_shells[0]['l'] spin_names = ["up","down"] orb_names = [i for i in range(n_orb)] # 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: Umat, Upmat = U_matrix_kanamori(n_orb=n_orb, U_int=U, J_hund=J)