; Geometry optimization of structure in active window, using
; current setup values and computational method. Detailed
; output will go to chem.log.
; Open log file "chem.log"
; "no" = do not append to previous file
start-logging chem.log no
do-optimization
append-omsgs-to-file chem.log
stop-logging
; Save resulting structure in chem.hin
write-file chem.hin
; Confirm convergence and
; send values of heat of formation and dipole moment to screen.
; For molecular mechanics energy contributions, substitute
; total-energy, stretch-energy, bend-energy, torsion-energy, etc.
omsgs-not-to-file
query-value optim-converged
query-value heat-of-formation
query-value dipole-moment
exit-script