Next: 6.13 Symmetry Up: 6 GENERAL PROGRAM STRUCTURE Previous: 6.11 Variables


6.12 Multiple passes through the input

It is possible to perform loops over parts of the input using DO loops, very much as in FORTRAN programs. DO loops may be nested to any reasonable depth. This can be conveniently used, for instance, to compute automatically whole potential energy surfaces.



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