1999-07-14 21:26:37 +00:00
|
|
|
start scanexp
|
|
|
|
|
|
|
|
|
|
# Scan the d exponent on oxygen through a range
|
|
|
|
|
|
|
|
|
|
geometry units au noprint
|
|
|
|
|
O 0 0 0
|
|
|
|
|
H 0 1.430 -1.107
|
|
|
|
|
H 0 -1.430 -1.107
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
print none
|
|
|
|
|
|
|
|
|
|
python
|
2018-10-08 12:34:53 -07:00
|
|
|
from __future__ import print_function
|
1999-07-14 21:26:37 +00:00
|
|
|
from nwgeom import *
|
|
|
|
|
basis = 'basis noprint; H library 3-21g; O library 3-21g; O d; %f 1.0; end'
|
|
|
|
|
|
|
|
|
|
results = scan_input(basis, [0.5], [0.6], 20, 'scf', task_energy)
|
|
|
|
|
|
|
|
|
|
for (p,e) in results:
|
2018-10-08 12:34:53 -07:00
|
|
|
print(' Exponent = %7.4f Energy = %10.6f ' % (p[0], e))
|
1999-07-14 21:26:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
task python
|