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.

8 VARIABLES 48<br />

8.4 System variables<br />

As mentioned above, most system variables cannot be written by the user. In some exceptions,<br />

it is possible to redefine them using the SET command:<br />

SET,variable = expression [,] [unit]<br />

This holds for the following variables:<br />

CHARGE<br />

NELEC<br />

SPIN<br />

SCFSPIN<br />

MCSPIN<br />

CISPIN<br />

STATE<br />

MCSTATE<br />

CISTATE<br />

SYMMETRY<br />

SCFSYM[METRY]<br />

MCSYM[METRY]<br />

CISYM[METRY]<br />

ZSYMEL<br />

LQUANT<br />

OPTCONV<br />

PROGRAM<br />

CPUSTEP<br />

SYSSTEP<br />

WALLSTEP<br />

FOCKDONE<br />

MAXBASIS<br />

Total charge of the molecule<br />

Number of electrons<br />

Spin quantum number, given as 2 · M S (integer)<br />

Same as SPIN, but only for HF<br />

Same as SPIN, but only for MCSCF<br />

Same as SPIN, but only for MRCI<br />

State to be optimized<br />

Same as STATE but only for MCSCF<br />

Same as STATE but only for MRCI<br />

State symmetry<br />

Same as SYMMETRY but only for HF<br />

Same as SYMMETRY but only for MCSCF<br />

Same as SYMMETRY but only for MRCI<br />

Symmetry elements<br />

Lambda quantum number for linear molecules<br />

Geometry optimization convergence criterion<br />

Last program name<br />

CPU-time of last program step<br />

System-time of last program step<br />

Elapsed-time of last program step<br />

Indicates if closed-shell fock operator is available.<br />

Max number of basis sets stored on dump files. If the maximum is<br />

reached, the last one is overwritten when a new one is made, and all<br />

information (including dump records etc) of the previous basis is lost.<br />

The default is the maximum possible number of basis sets (30), which<br />

cannot be exceeded.<br />

8.5 Macro definitions using string variables<br />

String variables for which the stored string has the form of an algebraic expression are evaluated<br />

to a number if they are preceded by two dollars ($$). Example:<br />

string=’a+b’<br />

a=3<br />

b=4<br />

text,This is string $string which evaluates to $$string

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

Saved successfully!

Ooh no, something went wrong!