18 printf(
"PJFRY init\n");
19 const double dbl_min=std::numeric_limits<double>::min();
23 if (qlprec.xalogm < dbl_min) {
24 qlprec.xalogm=dbl_min;
25 qlprec.xalog2=sqrt(dbl_min);
27 printf(
"Set xalogm to normalized value %e\n", qlprec.xalogm);
28 printf(
"Set xalog2 to normalized value %e\n", qlprec.xalog2);
31 if (qlprec.xclogm < dbl_min) {
32 qlprec.xclogm=dbl_min;
33 qlprec.xclog2=sqrt(dbl_min);
35 printf(
"Set xclogm to normalized value %e\n", qlprec.xclogm);
36 printf(
"Set xclog2 to normalized value %e\n", qlprec.xclog2);
42 printf(
"Disable FF warnings %d\n",qlflag.lwarn);
61 std::complex<double> rslt;
94 std::complex<double> rslt;
130 std::complex<double> rslt;
170 if (
p1!=0. &&
p3!=0.) {
172 std::complex<double> rslt;
174 F77_FUNC(qli4,QLI4)(&rslt, &
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
177 F77_FUNC(qli4,QLI4)(&rslt, &
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
180 F77_FUNC(qli4,QLI4)(&rslt, &
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
184 ivalue.
val[0]=
F77_FUNC(qli4,QLI4)(&
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
186 ivalue.
val[1]=
F77_FUNC(qli4,QLI4)(&
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
188 ivalue.
val[2]=
F77_FUNC(qli4,QLI4)(&
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4, &
mu2, &
ep);
190 }
else if (
p2!=0. &&
p4!=0.) {
192 std::complex<double> rslt;
194 F77_FUNC(qli4,QLI4)(&rslt, &
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
197 F77_FUNC(qli4,QLI4)(&rslt, &
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
200 F77_FUNC(qli4,QLI4)(&rslt, &
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
204 ivalue.
val[0]=
F77_FUNC(qli4,QLI4)(&
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
206 ivalue.
val[1]=
F77_FUNC(qli4,QLI4)(&
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
208 ivalue.
val[2]=
F77_FUNC(qli4,QLI4)(&
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1, &
mu2, &
ep);
210 }
else { assert(0); }
213 std::complex<double> rslt;
215 F77_FUNC(qli4,QLI4)(&rslt, &
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
218 F77_FUNC(qli4,QLI4)(&rslt, &
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
221 F77_FUNC(qli4,QLI4)(&rslt, &
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
225 ivalue.
val[0]=
F77_FUNC(qli4,QLI4)(&
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
227 ivalue.
val[1]=
F77_FUNC(qli4,QLI4)(&
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
229 ivalue.
val[2]=
F77_FUNC(qli4,QLI4)(&
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4, &
mu2, &
ep);
240 printf(
"PJFRY init\n");
243 F77_FUNC_(avh_olo_mu_set,AVH_OLO_MU_SET)(&mu);
246 F77_FUNC_(avh_olo_onshell,AVH_OLO_ONSHELL)(&thrs);
254 std::complex<double> rslt[3];
257 ivalue.
val[0]=rslt[0];
258 ivalue.
val[1]=rslt[1];
259 ivalue.
val[2]=rslt[2];
270 std::complex<double> rslt[3];
273 ivalue.
val[0]=rslt[0];
274 ivalue.
val[1]=rslt[1];
275 ivalue.
val[2]=rslt[2];
289 std::complex<double> rslt[3];
292 ivalue.
val[0]=rslt[0];
293 ivalue.
val[1]=rslt[1];
294 ivalue.
val[2]=rslt[2];
312 std::complex<double> rslt[3];
314 if (
p1!=0. &&
p3!=0.) {
315 F77_FUNC_(avh_olo_d0m,AVH_OLO_D0M)(rslt, &
s12, &
p2, &
s23, &
p4, &
p1, &
p3, &
m1, &
m3, &
m2, &
m4);
316 }
else if (
p2!=0. &&
p4!=0.) {
317 F77_FUNC_(avh_olo_d0m,AVH_OLO_D0M)(rslt, &
s23, &
p3, &
s12, &
p1, &
p2, &
p4, &
m2, &
m4, &
m3, &
m1);
318 }
else { assert(0); }
320 F77_FUNC_(avh_olo_d0m,AVH_OLO_D0M)(rslt, &
p1, &
p2, &
p3, &
p4, &
s12, &
s23, &
m1, &
m2, &
m3, &
m4);
323 ivalue.
val[0]=rslt[0];
324 ivalue.
val[1]=rslt[1];
325 ivalue.
val[2]=rslt[2];
#define F77_FUNC(name, NAME)
#define F77_FUNC_(name, NAME)
ICache::Ival qlI1(const Kinem1 &k)
ICache::Ival qlI2(const Kinem2 &k)
ICache::Ival qlI4(const Kinem4 &k)
ICache::Ival qlI3(const Kinem3 &k)
double double double double double * m3
double double double * p4
double double double double * s12
double double double double double * s23
double double double double double double double double double * m4