Next: 36.24 Exercise: SCF program Up: 36 MATRIX OPERATIONS Previous: 36.22 Writing a matrix

36.23 Examples

The following example shows various uses of the MATROP commands.

Input: matrop.com

Output: matrop.out

This second example adds a quadrupole field to H0. The result is exactly the same as using the QUAD command. H0 is overwritten by the modified one-electron matrix, and the nuclear energy is automatically changed appropriately. The subsequent SCF calculations use the modified one-electron operator.

Note that it is usually recommended to add fields with the DIP, QUAD, or FIELD commands.

Input: matropfield.com

Output: matropfield.out



P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002