Subroutine snSpec

Subroutine snSpec may be called to input a SPECS file (to specify options for a subsequent call of snopt).

 

subroutine snSpec(   

iSpecs, inform,

$

 

cw, lencw, iw, leniw, rw, lenrw )

 

 

 

 

integer 

iSpecs, inform

 

integer 

lencw, leniw, lenrw

 

character*8

cw(lencw)

 

integer 

iw(leniw)

 

double precision

rw(lenrw)

On entry:

iSpecs is a unit number for the SPECS file (iSpecs > 0). Typically iSpecs = 4.
On some systems, the file may need to be opened before snSpec is called.

On exit:

cw(lencw), iw(leniw), rw(lenrw) contain the specified options.

inform is 0 if the SPECS file was successfully read.  Otherwise, it returns the number of errors encountered.