19.01.2015 Views

MOLPRO

MOLPRO

MOLPRO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

41 ENERGY GRADIENTS 301<br />

41.1.9 Example<br />

***, Calculate Gradients for Water<br />

alpha=104 degree<br />

!set geometry parameters<br />

r=1 ang<br />

geometry={O;<br />

!define z-matrix<br />

H1,o,r;<br />

H2,o,r,H1,alpha}<br />

basis=vdz<br />

!basis set<br />

hf<br />

!do scf<br />

forces<br />

!compute gradient for SCF<br />

mp2<br />

!mp2 calculation<br />

forces<br />

!mp2 gradients<br />

multi<br />

!casscf calculation<br />

forces<br />

!casscf gradient<br />

http://www.molpro.net/info/current/examples/h2o_forces.com<br />

41.2 Numerical gradients<br />

It is possible to compute gradients by finite differences using<br />

FORCE,NUMERICAL,options<br />

Numerical gradients are computed automatically if no analytical gradients are available for the<br />

last energy calculation. By default, no further input are needed, and the gradient will be computed<br />

for the last energy calculation. The following options can be given on the FORCE command<br />

or on subsequent directives (see subsequent sections):<br />

STARTCMD=command<br />

PROC=procname<br />

VARIABLE=varname<br />

The input between command and the current FORCE command defines<br />

the energy calculation for which the gradient is computed. This<br />

input section is executed for each displacement.<br />

specifies a procedure to be executed for each displacement. This must<br />

define a complete energy calculation and must not contain gradient or<br />

Hessian calculations.<br />

Compute the gradient of the value of variable varname. This implies<br />

numerical gradients. The variable must be set in the corresponding<br />

energy calculation.<br />

COORD=ZMAT|CART|3N coordinates with respect to which the gradient is evaluated. See<br />

section 41.2.1 for more information.<br />

DISPLACE=ZMAT|SYM|UNIQUE|CART<br />

Displacement coordinates to be used for numerical gradient. The default<br />

is ZMAT if the geometry is given as a zmatrix which depends<br />

on variables, and SYM (symmetrical displacement coordinates) otherwise.<br />

See section 41.2.1 for more information.<br />

SYMMETRY=AUTO|NOSYM Symmetry to be used in wavefunction calculations of numerical<br />

gradients. This option is only relevant if DISPLACE=UNIQUE|CART.<br />

If AUTO is given, the maximum possible symmetry is used for each<br />

displacement. This implies that the energy is independent of the symmetry<br />

used. Note that this often not the case in MRCI or CASPT2<br />

calculations. The option can also not be used in local correlation calculations.<br />

AUTO<br />

(logical). Same as SYMMETRY=AUTO

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!