2018-07-05 00:39:17 +02:00
|
|
|
|
|
|
|
let test_water_dz () =
|
|
|
|
|
|
|
|
let basis_file = "test_files/cc-pvdz"
|
|
|
|
and nuclei_file = "test_files/h2o.xyz"
|
|
|
|
in
|
2018-07-04 20:24:51 +02:00
|
|
|
|
2018-07-05 00:39:17 +02:00
|
|
|
let simulation_closed_shell =
|
2018-07-04 20:24:51 +02:00
|
|
|
Simulation.of_filenames ~charge:0 ~multiplicity:1 ~nuclei:nuclei_file basis_file
|
2018-07-05 00:39:17 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
let ao_basis =
|
2019-02-20 18:15:15 +01:00
|
|
|
Simulation.ao_basis simulation_closed_shell
|
2018-07-05 00:39:17 +02:00
|
|
|
in
|
|
|
|
Alcotest.run "Water, cc-pVDZ" [
|
|
|
|
"AO_Basis", AOBasis.test_case ao_basis;
|
|
|
|
"Guess", Guess.test_case ao_basis;
|
2019-02-15 13:48:48 +01:00
|
|
|
"Spindeterminant", Spindeterminant.test_case ();
|
2018-07-20 19:02:56 +02:00
|
|
|
"Determinant", Determinant.test_case ();
|
2019-02-18 15:39:26 +01:00
|
|
|
"Excitation", Excitation.test_case ();
|
2018-07-05 00:39:17 +02:00
|
|
|
]
|
2018-07-04 20:24:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
let () =
|
2018-07-05 00:39:17 +02:00
|
|
|
test_water_dz ()
|