2014-10-17 22:25:45 +02:00
|
|
|
let test_ao () =
|
2014-10-17 15:07:07 +02:00
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Ao_basis.read ()
|
|
|
|
in
|
2014-10-25 21:24:21 +02:00
|
|
|
print_endline (Input.Ao_basis.debug b);
|
2014-10-17 15:07:07 +02:00
|
|
|
print_endline (Input.Ao_basis.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-17 22:25:45 +02:00
|
|
|
let test_bielec_intergals () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Bielec_integrals.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Bielec_integrals.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-18 00:10:25 +02:00
|
|
|
let test_bitmasks () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Bitmasks.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Bitmasks.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-18 23:18:54 +02:00
|
|
|
let test_cis () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Cis_dressed.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Cis_dressed.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-20 12:19:12 +02:00
|
|
|
let test_dets () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Determinants.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Determinants.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-21 22:18:57 +02:00
|
|
|
let test_cisd_sc2 () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Cisd_sc2.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Cisd_sc2.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-21 23:23:37 +02:00
|
|
|
let test_electrons () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Electrons.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Electrons.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-21 23:32:47 +02:00
|
|
|
let test_fci () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Full_ci.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Full_ci.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-22 00:12:23 +02:00
|
|
|
let test_hf () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Hartree_fock.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Hartree_fock.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-24 00:25:15 +02:00
|
|
|
let test_mo () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Mo_basis.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Mo_basis.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-24 00:42:07 +02:00
|
|
|
let test_nucl () =
|
|
|
|
Ezfio.set_file "F2.ezfio" ;
|
|
|
|
let b = Input.Nuclei.read ()
|
|
|
|
in
|
|
|
|
print_endline (Input.Nuclei.to_string b);
|
|
|
|
;;
|
|
|
|
|
2014-10-22 00:12:23 +02:00
|
|
|
(*
|
|
|
|
test_hf ();;
|
|
|
|
test_ao ();;
|
|
|
|
test_bielec_intergals ();;
|
|
|
|
test_bitmasks ();
|
|
|
|
test_cis ();
|
|
|
|
test_dets ();
|
|
|
|
test_cisd_sc2 ();
|
2014-10-24 00:25:15 +02:00
|
|
|
test_mo ();;
|
2014-10-24 00:42:07 +02:00
|
|
|
test_nucl ();
|
2014-10-25 21:24:21 +02:00
|
|
|
*)
|
|
|
|
test_ao ();;
|
|
|
|
|