1
subroutine initcluster()
7
include 'nexternal.inc'
13
real*8 xptj,xptb,xpta,xptl,xmtc
14
real*8 xetamin,xqcut,deltaeta
15
common /to_specxpt/xptj,xptb,xpta,xptl,xmtc,xetamin,xqcut,deltaeta
18
logical filmap, cluster
19
external filmap, cluster
22
c check whether y_cut is used -> set scale to y_cut*S
25
c if (ickkw.le.0) return
26
if (ickkw.le.0.and.xqcut.le.0d0.and.fixed_ren_scale.and.fixed_fac_scale) return
28
c if(ickkw.eq.2.and.xqcut.le.0d0)then
29
c write(*,*)'Must set qcut > 0 for ickkw = 2'
30
c write(*,*)'Exiting...'
34
c if(xqcut.gt.0d0)then
37
c q2fact(1) = scale**2 ! fact scale**2 for pdf1
38
c q2fact(2) = scale**2 ! fact scale**2 for pdf2
39
c fixed_ren_scale=.true.
40
c fixed_fac_scale=.true.
43
c initialize clustering map
45
if (.not.filmap()) then
46
write(*,*) 'cuts.f: cluster map initialization failed'
49
if (btest(mlevel,3)) then
51
write(*,*)'for proc ',iproc
53
write(*,*) 'prop ',i,' in'
54
do j=1,id_cl(iproc,i,0)
55
write(*,*) ' graph ',id_cl(iproc,i,j)