mirror of
https://github.com/LCPQ/quantum_package
synced 2025-04-16 05:29:35 +02:00
LinearAlgebra
This commit is contained in:
parent
6d05c72143
commit
4f3c07f54e
@ -1,6 +1,7 @@
|
|||||||
program save_for_qmc
|
program save_for_qmc
|
||||||
read_wf = .True.
|
read_wf = .True.
|
||||||
TOUCH read_wf
|
TOUCH read_wf
|
||||||
|
print *, "N_det = ", N_det
|
||||||
call write_spindeterminants
|
call write_spindeterminants
|
||||||
if (do_pseudo) then
|
if (do_pseudo) then
|
||||||
call write_pseudopotential
|
call write_pseudopotential
|
||||||
|
@ -83,7 +83,7 @@ subroutine ortho_lowdin(overlap,LDA,N,C,LDC,m)
|
|||||||
!$OMP DO
|
!$OMP DO
|
||||||
do i=1,n
|
do i=1,n
|
||||||
if ( D(i) < 1.d-12 ) then
|
if ( D(i) < 1.d-12 ) then
|
||||||
stop 'Linear dependence in basis set'
|
D(i) = 0.d0
|
||||||
else
|
else
|
||||||
D(i) = 1.d0/dsqrt(D(i))
|
D(i) = 1.d0/dsqrt(D(i))
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user