Skip to content

Commit

Permalink
property rtdb fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhammond committed May 7, 2021
1 parent 3e87872 commit 241405d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/property/aor_get_giaoints.F
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ subroutine aor_get_giaoints(rtdb,basis,geom, nspin, lifetime,
& call errquit('aor_giaoints: rtdb_put failed',1,RTDB_ERR)
endif

call new_giao_2e(geom,basis,nbf,tol2e,
call new_giao_2e(rtdb, geom,basis,nbf,tol2e,
& g_dens, g_fock, xfac, npol)

do ispin = 1,npol
Expand Down
7 changes: 4 additions & 3 deletions src/property/aoresponse_giao_rhs.F
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ subroutine aoresponse_giao_rhs (rtdb, basis, geom,
c$$$ if (.not. rtdb_put(rtdb, 'fock_xc:calc_type', mt_int, 1, ifld))
c$$$ $ call errquit('aorgiao: rtdb_put failed',0,RTDB_ERR)
c$$$ endif
c$$$ call new_giao_2e(geom, basis, nbf, tol2e, g_dens, g_fock, xfac)
c$$$ call new_giao_2e(rtdb, geom, basis, nbf, tol2e, g_dens, g_fock, xfac)
c$$$ if(use_theory.eq.'dft') then
c$$$ ifld = 0
c$$$ if (.not. rtdb_put(rtdb, 'fock_xc:calc_type', mt_int, 1, ifld))
Expand All @@ -437,8 +437,9 @@ subroutine aoresponse_giao_rhs (rtdb, basis, geom,
if (.not. rtdb_put(rtdb, 'fock_xc:calc_type', mt_int, 1, ifld))
$ call errquit('aor_giao: rtdb_put failed',0,RTDB_ERR)
endif
c call new_giao_2e(geom, basis, nbf, tol2e, g_dens, g_fock, xfac)
call new_giao_2e(geom, basis, nbf, tol2e, g_dens, g_fock, xfac, 1) ! FA restrict calc
c call new_giao_2e(rtdb, geom, basis, nbf, tol2e, g_dens, g_fock, xfac)
call new_giao_2e(rtdb, geom, basis, nbf, tol2e,
& g_dens, g_fock, xfac, 1) ! FA restrict calc
if(use_theory.eq.'dft') then
ifld = 0
if (.not. rtdb_put(rtdb, 'fock_xc:calc_type', mt_int, 1, ifld))
Expand Down
2 changes: 1 addition & 1 deletion src/property/giao_b1_movecs_tools.F
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ subroutine update_rhs_fock2e(
$ call errquit('giao_b1: rtdb_put failed',0,RTDB_ERR)
endif

call new_giao_2e(geom,basis,nbf,tol2e,
call new_giao_2e(rtdb, geom,basis,nbf,tol2e,
& g_dens, ! in: e-denstiy
& g_fock, ! out: fock matrix
& xfac,
Expand Down
3 changes: 2 additions & 1 deletion src/property/hnd_giaox.F
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ subroutine hnd_giaox(rtdb,basis,geom)
& write(*,*) '---- g_rhs-BEF-new_giao_2e -------- END'
endif

call new_giao_2e(geom,basis,nbf,tol2e,g_dens,g_fock,xfac,npol)
call new_giao_2e(rtdb, geom,basis,nbf,tol2e,
& g_dens,g_fock,xfac,npol)
c
if(use_theory.eq.'dft') then
ifld = 0
Expand Down
2 changes: 1 addition & 1 deletion src/property/hnd_giaox_zora.F
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ subroutine hnd_giaox_zora(rtdb,basis,geom)
& npol)
c +++++ Test: getting Coulomb and Exchange contrib separate --- END
else ! default
call new_giao_2e(geom,basis,nbf,tol2e,
call new_giao_2e(rtdb, geom,basis,nbf,tol2e,
& g_dens, ! in: e-denstiy
& g_fock, ! out: fock matrix
& xfac,
Expand Down
2 changes: 1 addition & 1 deletion src/property/hnd_gshift_zora.F
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ subroutine hnd_gshift_zora(rtdb,basis,geom)
& npol)
c +++++ Test: getting Coulomb and Exchange contrib separate --- END
else
call new_giao_2e(geom,basis,nbf,tol2e,
call new_giao_2e(rtdb, geom,basis,nbf,tol2e,
& g_dens, ! in: e-denstiy
& g_fock, ! out: fock matrix
& xfac,
Expand Down

0 comments on commit 241405d

Please sign in to comment.