-
Notifications
You must be signed in to change notification settings - Fork 0
/
mlmpdfif.f
49 lines (46 loc) · 1.27 KB
/
mlmpdfif.f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
subroutine genericpdf(ndns,ih,xmu2,x,fx)
c Interface to mlmpdf package.
implicit none
integer ndns,ih
real * 8 xmu2,x,fx(-6:6)
real * 4 sxmu2,sx,sfx(-5:5)
integer j
sx=x
sxmu2=xmu2
call mlmpdf(ndns,ih,sxmu2,sx,sfx,5)
do j=-5,5
fx(j)=sfx(j)
enddo
fx(1)=sfx(2)
fx(-1)=sfx(-2)
fx(2)=sfx(1)
fx(-2)=sfx(-1)
fx(6)=0
fx(-6)=0
end
c This subroutine is in LHAPDF, and is invoked in
c setstrongcoupl.f in case the lhapdfif.f (and LHAPDF) is linked in
c If not, like now, it should be set to a dummy function with the same (dummy) arguments as in LHAPDF, to avoid
c link errors. It is never invoked in the present case.
subroutine getq2min(dum1,dum2)
implicit none
integer dum1
real * 8 dum2
end
subroutine genericpdfpar(ndns,ih,xlam,scheme,iorder,iret)
implicit none
include 'pwhg_pdf.h'
integer ndns,ih
real * 8 xlam
character * 2 scheme
integer iret,iorder
call pdfpar(ndns,ih,xlam,scheme,iret)
c put ad hoc value for q2min; mlmpdf do not provide it
pdf_q2min = 2d0
c not yet implemented
iorder=-1
end
function whichpdfpk()
character * 3 whichpdfpk
whichpdfpk='mlm'
end