19.01.2015 Views

MOLPRO

MOLPRO

MOLPRO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

34 PROPERTIES AND EXPECTATION VALUES 265<br />

34.6.1 Example<br />

***,ar2<br />

geometry={ar1;ar2,ar1,r}<br />

r=2.5 ang<br />

{hf;<br />

expec,rel,darwin,massv}<br />

e_nrel=energy<br />

show,massv,darwin,erel<br />

dkroll=1<br />

hf;<br />

e_dk=energy<br />

show,massv,darwin,erel<br />

show,e_dk-e_nrel<br />

!geometry definition<br />

!bond distance<br />

!non-relativisitic scf calculation<br />

!compute relativistic correction using Cowan-Griffin operator<br />

!save non-relativistic energy in variable enrel<br />

!show individual contribution and their sum<br />

!use douglas-kroll one-electron integrals<br />

!relativistic scf calculation<br />

!save relativistic scf energy in variable e_dk.<br />

!show mass-velocity and darwin contributions and their sum<br />

!show relativistic correction using Douglas-Kroll<br />

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

34.7 CUBE — dump density or orbital values<br />

CUBE,filename,iflag,n 1 ,n 2 ,n 3<br />

calls a module which dumps the values of various properties on a spatial parallelopipedal grid<br />

to an external file. The purpose is to allow plotting of orbitals, densities and other quantities by<br />

external programs. The format of the file is intended to be the same as that produced by other<br />

programs.<br />

filename<br />

iflag<br />

n 1 ,n 2 ,n 3<br />

is the unix path name of the file to be written, and its specification is<br />

mandatory.<br />

If iflag is negative (default), a formatted file will be written, otherwise<br />

unformatted fortran i/o will be used.<br />

specify the number of grid points in each of three dimensions. If not<br />

specified, sensible defaults are chosen.<br />

By default, the last density computed is evaluated on the grid, and written to filename. This<br />

behaviour can be modified by one or more of the following subcommands.<br />

34.7.1 STEP — setting the point spacing<br />

STEP,[stepx],[stepy], [stepz]<br />

stepx,stepy, stepz specify the point spacing in each of three axis directions. By default, the value<br />

of stepx,stepy, stepz is determinated by the number of grid points, the bragg radii of the atoms,<br />

and some related parameters.<br />

34.7.2 DENSITY — source of density<br />

DENSITY,[density-source]<br />

GRADIENT,[density-source]<br />

LAPLACIAN,[density-source]

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

Saved successfully!

Ooh no, something went wrong!