2 C*********************************************************************
4 SUBROUTINE PYUPIN(ISUB,TITLE,SIGMAX)
6 C...Routine to be called by user to set up a user-defined process.
7 COMMON/LUDAT1/MSTU(200),PARU(200),MSTJ(200),PARJ(200)
8 COMMON/PYINT2/ISET(200),KFPR(200,2),COEF(200,20),ICOL(40,4,2)
9 COMMON/PYINT6/PROC(0:200)
11 SAVE /LUDAT1/,/PYINT2/,/PYINT6/
14 C...Check that subprocess number free.
15 IF(ISUB.LT.1.OR.ISUB.GT.200.OR.ISET(ISUB).GE.0) THEN
16 WRITE(MSTU(11),5000) ISUB
20 C...Fill information on new process.
25 C...Format for error output.
26 5000 FORMAT(1X,'Error: user-defined subprocess code ',I4,
27 &' not allowed.'//1X,'Execution stopped!')