Skip to content

Commit

Permalink
Recalculate static SE
Browse files Browse the repository at this point in the history
  • Loading branch information
basilib committed Oct 23, 2024
1 parent fb2f298 commit 90df779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vayesta/egf/egf.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def make_self_energy_moments(self, proj, nmom_se=None, ph_separation=True, hermi
# static_self_energy = remove_fragments_from_full_moments(self, non_local_se_static) + static_self_energy
# self_energy_moments = remove_fragments_from_full_moments(self, non_local_se_moms, proj=proj) + self_energy_moments

phys = self.mf.mo_coeff.T @ self.mf.get_fock() @ self.mf.mo_coeff + self.static_self_energy
phys = self.mf.mo_coeff.T @ self.mf.get_fock() @ self.mf.mo_coeff + static_self_energy
if type(self_energy_moments) is tuple:
solverh = MBLSE(phys, self_energy_moments[0], hermitian=hermitian_mblse, log=self.log)
solverp = MBLSE(phys, self_energy_moments[1], hermitian=hermitian_mblse, log=self.log)
Expand Down

0 comments on commit 90df779

Please sign in to comment.