10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-16 10:15:27 +02:00

Convergence mrcc

This commit is contained in:
Anthony Scemama 2017-03-06 13:18:53 +01:00
parent 9ae8a25ab0
commit 8459b325ee

View File

@ -790,13 +790,16 @@ END_PROVIDER
resold = res
if(iand(k, 127) == 0) then
print *, "res ", k, res
end if
print *, k, res, 1.d0 - res/resold
endif
if(res < 1d-10) exit
if ( (res < 1d-10).or.(res/resold > 0.99d0) ) then
exit
endif
end do
dIj_unique(1:size(X), s) = X(1:size(X))
print *, "res ", k, res
print *, k, res, 1.d0 - res/resold
enddo