83 if (r == 0.0)
return 0.085;
85 if (r <= 0.0001)
return 0.0855+0.01692*(r/0.0001)-0.02401*std::pow(r/0.0001,2.)+0.01274*std::pow(r/0.0001,3.);
87 if (r > 0.0001 && r <= 0.01)
return 0.09141 + 0.23846*((r-0.0001)/0.0099)
88 - 1.75947*std::pow((r-.0001)/0.0099,2.)
89 + 10.98611*std::pow((r-0.0001)/0.0099,3.)
90 - 43.19181*std::pow((r-.0001)/0.0099,4.)
91 +105.70005*std::pow((r-.0001)/.0099,5.)
92 -160.72894*std::pow((r-.0001)/.0099,6.)
93 +147.43399*std::pow((r-.0001)/.0099,7.)
94 - 74.60043*std::pow((r-.0001)/0.0099,8.)
95 + 15.97547*std::pow((r-.0001)/0.0099,9.);
97 if (r > 0.01 && r <= 0.1537)
return 0.14486 + 0.40914*((r-.01)/.1437)
98 - 1.28150*std::pow((r-0.01)/0.1437,2.)
99 + 5.07377*std::pow((r-0.01)/0.1437,3.)
100 -15.42031*std::pow((r-0.01)/0.1437,4.)
101 +31.96346*std::pow((r-0.01)/0.1437,5.)
102 -43.12605*std::pow((r-0.01)/0.1437,6.)
103 +36.02908*std::pow((r-0.01)/0.1437,7.)
104 -16.87185*std::pow((r-0.01)/0.1437,8.)
105 + 3.37941*std::pow((r-0.01)/0.1437,9.);
107 if (r > 0.1537 && r <= 0.7114)
return (-1./2.3)*std::log(0.71956*(0.1537-r)+0.50158);
109 if (r > 0.7114 && r <= 1.0)
return (-1./1.1)*std::log(1.15292*(0.7114-r)+0.33287);
113 G4cout <<
" Random number out of range in SmpGEng " <<
G4endl;
static G4double fisslibrng(void)
G4GLOB_DLL std::ostream G4cout