From 7634752eb156fb71802bf0799a419dbddabcb5bf Mon Sep 17 00:00:00 2001 From: 70akaline <36015241+70akaline@users.noreply.github.com> Date: Thu, 26 Nov 2020 13:07:04 +0000 Subject: [PATCH] symm_deg_gf var name update The variable name is not `orb`, but `ish` at the current version symm_deg_gf var name change `symm_deg_gf` variable change method `symm_deg_gf` have changed its variable `orb` to `ish`, that's fooling this method change --- doc/guide/dftdmft_selfcons.rst | 2 +- doc/tutorials/images_scripts/dft_dmft_cthyb.py | 2 +- doc/tutorials/images_scripts/nio.py | 6 +++--- doc/tutorials/images_scripts/nio_csc.py | 6 +++--- doc/tutorials/srvo3.rst | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/guide/dftdmft_selfcons.rst b/doc/guide/dftdmft_selfcons.rst index 906372ee..2244aff3 100644 --- a/doc/guide/dftdmft_selfcons.rst +++ b/doc/guide/dftdmft_selfcons.rst @@ -37,7 +37,7 @@ that for one-shot calculations. Only at the very end we have to calculate the mo and store it in a format such that Wien2k can read it. Therefore, after the DMFT loop that we saw in the previous section, we symmetrise the self energy, and recalculate the impurity Green function:: - SK.symm_deg_gf(S.Sigma,orb=0) + SK.symm_deg_gf(S.Sigma,ish=0) S.G_iw << inverse(S.G0_iw) - S.Sigma_iw S.G_iw.invert() diff --git a/doc/tutorials/images_scripts/dft_dmft_cthyb.py b/doc/tutorials/images_scripts/dft_dmft_cthyb.py index b2744bbe..fc8373ec 100644 --- a/doc/tutorials/images_scripts/dft_dmft_cthyb.py +++ b/doc/tutorials/images_scripts/dft_dmft_cthyb.py @@ -99,7 +99,7 @@ if previous_present: for iteration_number in range(1,loops+1): if mpi.is_master_node(): print("Iteration = ", iteration_number) - SK.symm_deg_gf(S.Sigma_iw,orb=0) # symmetrise Sigma + SK.symm_deg_gf(S.Sigma_iw,ish=0) # symmetrise Sigma SK.set_Sigma([ S.Sigma_iw ]) # set Sigma into the SumK class chemical_potential = SK.calc_mu( precision = prec_mu ) # find the chemical potential for given density S.G_iw << SK.extract_G_loc()[0] # calc the local Green function diff --git a/doc/tutorials/images_scripts/nio.py b/doc/tutorials/images_scripts/nio.py index c202825d..996ed15e 100644 --- a/doc/tutorials/images_scripts/nio.py +++ b/doc/tutorials/images_scripts/nio.py @@ -113,11 +113,11 @@ SK.dc_energ = mpi.bcast(SK.dc_energ) SK.chemical_potential = mpi.bcast(SK.chemical_potential) # Calc the first G0 -SK.symm_deg_gf(S.Sigma_iw,orb=0) +SK.symm_deg_gf(S.Sigma_iw, ish=0) SK.put_Sigma(Sigma_imp = [S.Sigma_iw]) SK.calc_mu(precision=0.01) S.G_iw << SK.extract_G_loc()[0] -SK.symm_deg_gf(S.G_iw, orb=0) +SK.symm_deg_gf(S.G_iw, ish=0) #Init the DC term and the self-energy if no previous iteration was found if iteration_offset == 0: @@ -145,7 +145,7 @@ for it in range(iteration_offset, iteration_offset + n_iterations): dm = S.G_iw.density() SK.calc_dc(dm, U_interact=U, J_hund=J, orb=0, use_dc_formula=DC_type,use_dc_value=DC_value) # Get new G - SK.symm_deg_gf(S.Sigma_iw,orb=0) + SK.symm_deg_gf(S.Sigma_iw, ish=0) SK.put_Sigma(Sigma_imp=[S.Sigma_iw]) SK.calc_mu(precision=0.01) S.G_iw << SK.extract_G_loc()[0] diff --git a/doc/tutorials/images_scripts/nio_csc.py b/doc/tutorials/images_scripts/nio_csc.py index 849b8b30..6f54c012 100644 --- a/doc/tutorials/images_scripts/nio_csc.py +++ b/doc/tutorials/images_scripts/nio_csc.py @@ -120,11 +120,11 @@ def dmft_cycle(): SK.chemical_potential = mpi.bcast(SK.chemical_potential) # Calc the first G0 - SK.symm_deg_gf(S.Sigma_iw,orb=0) + SK.symm_deg_gf(S.Sigma_iw, ish=0) SK.put_Sigma(Sigma_imp = [S.Sigma_iw]) SK.calc_mu(precision=0.01) S.G_iw << SK.extract_G_loc()[0] - SK.symm_deg_gf(S.G_iw, orb=0) + SK.symm_deg_gf(S.G_iw, ish=0) #Init the DC term and the self-energy if no previous iteration was found if iteration_offset == 0: @@ -153,7 +153,7 @@ def dmft_cycle(): dm = S.G_iw.density() SK.calc_dc(dm, U_interact=U, J_hund=J, orb=0, use_dc_formula=DC_type,use_dc_value=DC_value) # Get new G - SK.symm_deg_gf(S.Sigma_iw,orb=0) + SK.symm_deg_gf(S.Sigma_iw, ish=0) SK.put_Sigma(Sigma_imp=[S.Sigma_iw]) SK.calc_mu(precision=0.01) S.G_iw << SK.extract_G_loc()[0] diff --git a/doc/tutorials/srvo3.rst b/doc/tutorials/srvo3.rst index 49ebb0c4..a5ba4659 100644 --- a/doc/tutorials/srvo3.rst +++ b/doc/tutorials/srvo3.rst @@ -187,7 +187,7 @@ some additional refinements:: for iteration_number in range(1,loops+1): if mpi.is_master_node(): print "Iteration = ", iteration_number - SK.symm_deg_gf(S.Sigma_iw,orb=0) # symmetrizing Sigma + SK.symm_deg_gf(S.Sigma_iw,ish=0) # symmetrizing Sigma SK.set_Sigma([ S.Sigma_iw ]) # put Sigma into the SumK class chemical_potential = SK.calc_mu( precision = prec_mu ) # find the chemical potential for given density S.G_iw << SK.extract_G_loc()[0] # calc the local Green function