/usr/share/psi4/samples/fci-tdm/test.in is in psi4-data 1:1.1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #! He2+ FCI/cc-pVDZ Transition Dipole Moment
refnuc = 0.705569611453 #TEST
refscf = -4.816603103707 #TEST
refci1 = -4.883262085443 #TEST
refcorr1 = refci1 - refscf #TEST
refci2 = -4.87949177337 #TEST
refcorr2 = refci2 - refscf #TEST
refDipHF = 0.00000000 #TEST
refDipCI1= 0.000000000000 #TEST
refDipCI2= 0.000000000000 #TEST
refTDM = 7.18035032568 #TEST
molecule he2p {
1 2
He
He 1 3.0
symmetry c2v
}
set {
reference rohf
basis cc-pVDZ
docc [1,0,0,0]
socc [1,0,0,0]
dipmom true
num_roots 2
}
thisenergy = prop('fci', properties=['DIPOLE', 'QUADRUPOLE', 'TRANSITION_DIPOLE', 'TRANSITION_QUADRUPOLE'])
compare_values(refnuc, he2p.nuclear_repulsion_energy(), 9, "Nuclear repulsion energy") #TEST
compare_values(refscf, get_variable("SCF TOTAL ENERGY"), 8, "SCF energy") #TEST
compare_values(refci1, thisenergy, 7, "CI ROOT 0 ENERGY") #TEST
compare_values(refci2, get_variable("CI ROOT 1 TOTAL ENERGY"), 7, "CI ROOT 1 ENERGY") #TEST
compare_values(refcorr1, get_variable("CI ROOT 0 CORRELATION ENERGY"), 7, "CI ROOT 0 correlation energy") #TEST
compare_values(refcorr2, get_variable("CI ROOT 1 CORRELATION ENERGY"), 7, "CI ROOT 1 correlation energy") #TEST
compare_values(refDipHF, get_variable("SCF DIPOLE Z"), 5, "SCF Z Component of dipole") #TEST
compare_values(refDipCI1, get_variable("CI ROOT 0 DIPOLE Z"), 5, "CI ROOT 0 Z Component of dipole") #TEST
compare_values(refDipCI2, get_variable("CI ROOT 1 DIPOLE Z"), 5, "CI ROOT 1 Z Component of dipole") #TEST
compare_values(abs(refTDM), abs(get_variable("CI ROOT 0 -> ROOT 1 DIPOLE Z")), 5, "CI ROOT 0 -> ROOT 1 Z Component of dipole") #TEST
|