Next: 7.3.3 Reading input for Up: 7.3 Read-only operations on Previous: 7.3.1 Initializing the input

7.3.2 Reading input for an orbital request

c-----------------------------------------------------------------------
      subroutine guess_inp(rec,icol1,ncol)
c-----------------------------------------------------------------------
      implicit double precision (a-h,o-z)
rec
Default record to be used. This should be provided by the calling program (the present routine does not look for a default). rec must not be a constant, since the actual record will be returned by this subroutine.
icol1
First input field to be read on current input card
ncol
Last input field to be read on current input card
The syntax of the input card is as follows

ORBITAL[,[RECORD=]record] [,[TYPE=]orbtype] [,STATE=state] [,SYM[METRY]=symmetry]
[,SPIN=spin] [,MS2=ms2] [,[N]ELEC=nelec] [,SET=iset]

where the (optional) specifications can be used to select specific orbitals, if several different orbital sets are stored in the same record. See User's manual for more information. The input card must have been read by the calling program, which recognizes the keyword ORBITAL (this could be something else as well, e.g., START) and then calls this routine. Normally, icol1=2, so that input processing starts on the second input field.


P.J. Knowles and H.-J. Werner
molpro-support@tc.bham.ac.uk
Jan 10, 2000