-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from marm314/master
HFB SCF
- Loading branch information
Showing
17 changed files
with
1,142 additions
and
69 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 |
---|---|---|
|
@@ -6,3 +6,8 @@ | |
__pycache__ | ||
|
||
.ninja_deps | ||
calcs/ | ||
calcs/input | ||
calcs/int | ||
calcs/mol | ||
calcs/water.out |
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,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
import os, sys | ||
import argparse | ||
|
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
subroutine anomalous_matrix_AO_basis(nBas,sigma,Pa,ERI,L) | ||
|
||
! Compute anomalous L matrix in the AO basis | ||
|
||
implicit none | ||
include 'parameters.h' | ||
|
||
! Input variables | ||
|
||
integer,intent(in) :: nBas | ||
double precision,intent(in) :: sigma | ||
double precision,intent(in) :: Pa(nBas,nBas) | ||
double precision,intent(in) :: ERI(nBas,nBas,nBas,nBas) | ||
|
||
! Local variables | ||
|
||
integer :: mu,nu,la,si | ||
|
||
! Output variables | ||
|
||
double precision,intent(out) :: L(nBas,nBas) | ||
|
||
L(:,:) = 0d0 | ||
|
||
do nu=1,nBas | ||
do si=1,nBas | ||
do la=1,nBas | ||
do mu=1,nBas | ||
L(mu,nu) = L(mu,nu) + sigma*Pa(la,si)*ERI(la,si,mu,nu) | ||
end do | ||
end do | ||
end do | ||
end do | ||
|
||
end subroutine | ||
|
||
! --- | ||
|
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
Oops, something went wrong.