9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Fixed tests

This commit is contained in:
Anthony Scemama 2020-11-11 19:13:04 +01:00
parent 18e0818e9d
commit da5768f5fe
4 changed files with 18 additions and 16 deletions

View File

@ -129,7 +129,8 @@ function run() {
@test "[Cu(NH3)4]2+" { # 29.7711s 3.45478m
[[ -n ${TRAVIS} ]] && skip
run cu_nh3_4_2plus.ezfio -1862.97958709248 -1862.92454796197 -1862.91130872182
run cu_nh3_4_2plus.ezfio -1862.97958885180 -1862.92457657404 -1862.91134959451
}
@test "SO2" { # 32.092s 1.47785m

View File

@ -110,7 +110,8 @@ function run() {
[[ -n $TRAVIS ]] && skip
qp set_file cu_nh3_4_2plus.ezfio
qp set_mo_class --core="[1-24]" --act="[25-45]" --del="[46-87]"
run -1862.98676507415 -1862.68809564033
run -1862.98689579931 -1862.6883044626563
}
@test "ClF" { # 30.3225s

View File

@ -71,7 +71,7 @@ function run_stoch() {
@test "HBO" { # 13.3144s
[[ -n $TRAVIS ]] && skip
qp set_file hbo.ezfio
run -100.21375705105 1.e-3 100000
run -100.212560384678 1.e-3 100000
}
@test "H2O" { # 11.3727s
@ -89,7 +89,7 @@ function run_stoch() {
@test "SO" { # 13.4952s
[[ -n $TRAVIS ]] && skip
qp set_file so.ezfio
run -26.0137894714319 1.e-3 100000
run -26.0096209515081 1.e-3 100000
}
@test "H2S" { # 13.6745s
@ -132,7 +132,7 @@ function run_stoch() {
@test "ClF" { # 16.8864s
[[ -n $TRAVIS ]] && skip
qp set_file clf.ezfio
run -559.1707464173 3.e-4 100000
run -559.169313755572 3.e-4 100000
}
@test "SO2" { # 17.5645s
@ -146,14 +146,14 @@ function run_stoch() {
[[ -n $TRAVIS ]] && skip
qp set_file c2h2.ezfio
qp set_mo_class --act="[1-30]" --del="[31-36]"
run -12.3671816782954 3.e-4 100000
run -12.3685464085969 3.e-4 100000
}
@test "N2" { # 18.0198s
[[ -n $TRAVIS ]] && skip
qp set_file n2.ezfio
qp set_mo_class --core="[1,2]" --act="[3-40]" --del="[41-60]"
run -109.28858440086 3.e-4 100000
run -109.28681540699360 3.e-4 100000
}
@test "N2H4" { # 18.5006s
@ -167,7 +167,7 @@ function run_stoch() {
[[ -n $TRAVIS ]] && skip
qp set_file co2.ezfio
qp set_mo_class --core="[1,2]" --act="[3-30]" --del="[31-42]"
run -187.96924172901 3.e-4 100000
run -187.968547952413 3.e-4 100000
}
@ -175,7 +175,7 @@ function run_stoch() {
[[ -n $TRAVIS ]] && skip
qp set_file cu_nh3_4_2plus.ezfio
qp set_mo_class --core="[1-24]" --act="[25-45]" --del="[46-87]"
run -1862.97568806589 3.e-04 100000
run -1862.9869374387192 3.e-04 100000
}
@test "HCN" { # 20.3273s

View File

@ -298,7 +298,7 @@ BEGIN_PROVIDER [ logical, banned_excitation, (mo_num,mo_num) ]
call two_e_integrals_index(i,j,j,i,idx)
!DIR$ FORCEINLINE
call map_get(mo_integrals_map,idx,tmp)
banned_excitation(i,j) = dabs(tmp) < 1.d-15
banned_excitation(i,j) = dabs(tmp) < 1.d-14
banned_excitation(j,i) = banned_excitation(i,j)
enddo
enddo