38 IMPLICIT DOUBLE PRECISION (
a-
h,
o-
z)
60 2/mn7ext/ u(mne) ,alim(mne) ,blim(mne)
61 3/mn7err/ erp(mni) ,ern(mni) ,werr(mni) ,globcc(mni)
62 4/mn7inx/ nvarl(mne) ,niofex(mne),nexofi(mni)
63 5/mn7int/
x(mni) ,xt(mni) ,dirin(mni)
64 6/mn7fx2/
xs(mni) ,xts(mni) ,dirins(mni)
65 7/mn7der/ grd(mni) ,g2(mni) ,gstep(mni) ,gin(mne) ,dgrd(mni)
66 8/mn7fx3/ grds(mni) ,g2s(mni) ,gsteps(mni)
67 9/mn7fx1/ ipfix(mni) ,npfix
68 a/mn7var/ vhmat(mnihl)
69 b/mn7vat/ vthmat(mnihl)
70 c/mn7sim/
p(mni,mni+1),pstar(mni),pstst(mni) ,pbar(mni),prho(mni)
72 parameter(maxdbg=10, maxstk=10, maxcwd=20,
maxp=30, maxcpt=101)
75 d/mn7npr/ maxint ,npar ,maxext ,nu
76 e/mn7iou/ isysrd ,isyswr ,isyssa ,npagwd ,npagln ,newpag
77 e/mn7io2/ istkrd(maxstk) ,nstkrd ,istkwr(maxstk) ,nstkwr
78 f/mn7tit/ cfrom ,cstatu ,ctitl ,cword ,cundef ,cvrsn ,covmes
79 g/mn7flg/ isw(7) ,idbg(0:maxdbg) ,nblock ,icomnd
80 h/mn7min/ amin ,
up ,edm ,fval3 ,epsi ,apsi ,dcovar
81 i/mn7cnv/ nfcn ,nfcnmx ,nfcnlc ,nfcnfr ,itaur,istrat,nwrmes(2)
83 k/mn7log/ lwarn ,lrepor ,limset ,lnolim ,lnewmn ,lphead
84 l/mn7cns/ epsmac ,epsma2 ,vlimlo ,vlimhi ,undefi ,bigedm,updflt
85 m/mn7rpt/ xpt(maxcpt) ,ypt(maxcpt)
86 n/mn7cpt/ chpt(maxcpt)
87 o/mn7xcr/ xmidcr ,ymidcr ,xdircr ,ydircr ,ke1cr ,ke2cr
88 CHARACTER ctitl*50, cword*(maxcwd), cundef*10, cfrom*8,
89 + cvrsn*6, covmes(0:3)*22, cstatu*10, chpt*1
90 LOGICAL lwarn, lrepor, limset, lnolim, lnewmn, lphead
92 xlreq = min(word7(3),word7(4))
93 xhreq = max(word7(3),word7(4))
94 ncall = word7(2) + 0.01
95 IF (ncall .LE. 1) ncall = 41
96 IF (ncall .GT. maxcpt) ncall = maxcpt
98 IF (amin .EQ. undefi)
CALL mnamin(fcn,futil)
99 iparwd = word7(1) + 0.1
100 ipar = max(iparwd, 0)
103 IF (iparwd .GT. 0)
GO TO 200
107 IF (ipar .GT. nu)
GO TO 900
109 IF (iint .LE. 0)
GO TO 100
120 IF (nvarl(ipar) .GT. 1)
GO TO 300
122 IF (xlreq .EQ. xhreq)
GO TO 250
124 step = (xhreq-xlreq)/float(ncall-1)
127 xl = ubest - werr(iint)
128 xh = ubest+ werr(iint)
129 CALL mnbins(xl,xh,ncall, unext,uhigh,nbins,step)
134 IF (xlreq .EQ. xhreq)
GO TO 350
135 xl = max(xlreq,alim(ipar))
136 xh = min(xhreq,blim(ipar))
137 IF (xl .GE. xh)
GO TO 700
139 step = (xh-xl)/float(ncall-1)
143 step = (blim(ipar)-alim(ipar))/float(ncall-1)
146 DO 600 icall = 1, nccall
149 CALL fcn(nparx,gin,fnext,u,4,futil)
155 IF (fnext .LT. amin)
THEN 166 IF (isw(5) .GE. 1)
THEN 167 WRITE (isyswr,1001) newpag,ipar,cpnam(ipar)
169 CALL mnplot(xpt,ypt,chpt,nxypt,nunit,npagwd,npagln)
173 WRITE (isyswr,1000) ipar
175 IF (iparwd .LE. 0)
GO TO 100
178 IF (isw(5) .GE. 0)
CALL mnprin(5,amin)
180 1000
FORMAT (46
h requested range outside limits for
PARAMETER ,i3/)
181 1001
FORMAT (i1,
'SCAN OF PARAMETER NO.',i3,3
h, ,a10)
integer npitbl real *nx parameter(n=101, npitbl=46, nx=n-1) real *8 uconst
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data h g *is for param c g data up(2, 1)/7.0d0/
dE dx *! Nuc Int sampling table e
real(4), dimension(:), allocatable, save h
subroutine mnprin(INKODE, FVAL)
! constants thru Cosmos real ! if multiplied to deg radian Torad ! light velocity m sec ! infinty ! kg m2 *Togpcm2 g cm2 ! g cm2 *Tokgpm2 kg m2 ! cm *Tom m ! m *Tocm cm ! g cm3 *Tokgpm3 kg m3 ! kg m3 *Togpcm3 g cm3 ! sec *Tonsec nsec ! Tesla m ! Avogadro *A2deninv ! mfp *n * xs
subroutine mnamin(FCN, FUTIL)
********************block data cblkHeavy ********************integer j data *HeavyG2symbol p
********************block data cblkHeavy ********************integer j data *HeavyG2symbol *data *HeavyG2code kiron data j
dE dx *! Nuc Int sampling table d
block data include Zlatfit h c fitting region data data data data data d0 data data d0 data data m
dE dx *! Nuc Int sampling table g
subroutine mnbins(A1, A2, NAA, BL, BH, NB, BWID)
subroutine mnplot(XPT, YPT, CHPT, NXYPT, NUNIT, NPAGWD, NPAGLN)
! structure defining a particle at production ! Basic idea of what is to be contained in ! the particle structue is that dynamical ones should be included those derivable from the particle code ! is not included ******************************************************type fmom momentum sequence union map real e endmap map real * x
dE dx *! Nuc Int sampling table f
dE dx *! Nuc Int sampling table c