-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:aamaricci/EDIpack2.0
- Loading branch information
Showing
10 changed files
with
95 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
MODULE DMFT_ED | ||
USE ED_INPUT_VARS , only: & | ||
ed_read_input , & | ||
ed_update_input,& | ||
Norb , & | ||
Nspin , & | ||
Nbath , & | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
!Phononic hamiltonian H_ph = w0 b^+ b | ||
!Phononic hamiltonian H_ph = w0 b^+ b + A(bdg + b)/sqrt(2) | ||
!Phonon coupled to densities : phi_i * n_{i,iorb,sigma} | ||
do iph=1,DimPh | ||
htmp = w0_ph*(iph-1) | ||
call sp_insert_element(spH0_ph,htmp,iph,iph) | ||
enddo | ||
if(A_ph/=0.d0)then | ||
do iph=1,DimPh | ||
if(iph < DimPh) then !bdg = sum_n |n+1> sqrt(n+1)<n| | ||
htmp = sqrt(0.5d0)*A_ph*sqrt(dble(iph)) | ||
call sp_insert_element(spH0_ph,htmp,iph+1,iph) | ||
endif | ||
if(iph > 1) then !bdg = sum_n |n+1> sqrt(n+1)<n| | ||
htmp = sqrt(0.5d0)*A_ph*sqrt(dble(iph-1)) | ||
call sp_insert_element(spH0_ph,htmp,iph-1,iph) | ||
endif | ||
enddo | ||
end if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters