45 static G4Pow geant4pow;
59 "Attempt to instantiate G4Pow in worker thread!");
63 const G4int maxZfact = 170;
64 const G4int numLowA = 17;
69 maxAexp = -0.76 + maxZfact * 0.5;
75 lowa13.resize(numLowA, 0.0);
77 fexp.resize(maxZfact, 0.0);
78 fact.resize(maxZfact, 0.0);
108 for(
G4int i = 4; i < numLowA; ++i)
125 const bool invert = (
A < 1.);
141 res =
pz13[i] * (1. + x - x * x * (1. - 1.666667 * x));
147 res = invert ? 1. / res : res;
156 const G4int i =
static_cast<G4int>(4. * (a + 0.125));
159 res =
lowa13[i] * (1. + x - x * x * (1. - 1.666667 * x));
160 res = invert ? 1. / res : res;
179 for(
G4int i = 0; i <
n; ++i)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double G4Log(G4double x)
static G4Pow * GetInstance()
G4double A13Low(const G4double, const G4bool) const
G4double A13(G4double A) const
G4double powN(G4double x, G4int n) const
G4double A13High(const G4double, const G4bool) const
static G4Pow * fpInstance