10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 04:43:50 +01:00

Corrected libint bug

This commit is contained in:
Anthony Scemama 2016-04-06 21:23:26 +02:00
parent 177bcb0854
commit b4b8a01be3
2 changed files with 3 additions and 5 deletions

View File

@ -60,10 +60,8 @@ let to_string_gamess =
to_string_general ~fmt:Gto.Gamess ~atom_sep:""
let to_string_gaussian b =
String.concat ~sep:"\n" [ "****" ;
to_string_general ~fmt:Gto.Gaussian ~atom_sep:"****" b ;
"****"
]
String.concat ~sep:"\n"
[ to_string_general ~fmt:Gto.Gaussian ~atom_sep:"****" b ; "****" ]
let to_string ?(fmt=Gto.Gamess) =
match fmt with

View File

@ -87,6 +87,7 @@
ref = ao_bielec_integral(bf1,bf2,bf3,bf4)
if ( (ABS(ABS(ref) - ABS(libint)) >= 1.e-6) ) THEN
print*, bf1,bf2,bf3,bf4
print*,"r", ref
print*,"l", libint
@ -94,7 +95,6 @@
print*,"l/r", libint/ref
print*,"n", norm
if ( (ABS(ABS(ref) - ABS(libint)) >= 1.e-6) ) THEN
call exit(1)
end if