54 theFermi.
Init(theA, theZ);
58 G4double density = GetDensity(aPosition);
59 G4double fermiMom = GetFermiMomentum(density);
60 theFermiMomBuffer.push_back(fermiMom);
64 G4double density = GetDensity(aPosition);
65 G4double fermiMom = GetFermiMomentum(density);
66 theFermiMomBuffer.push_back(fermiMom);
70 theFermiMomBuffer.push_back(0);
74 theFermiMomBuffer.push_back(0);
86 unsigned int index =
static_cast<unsigned int>(x/(0.3*
fermi));
87 if((index+2) > theFermiMomBuffer.size())
return theFermiMomBuffer.back();
88 G4double y1 = theFermiMomBuffer[index];
89 G4double y2 = theFermiMomBuffer[index+1];
92 G4double fermiMom = y1 + (x-x1)*(y2-y1)/(x2-x1);
107 return bindingEnergy/theA+coulombBarrier;
static G4Pow * GetInstance()
virtual G4int GetCharge()=0
static constexpr double proton_mass_c2
virtual G4int GetMassNumber()=0
G4ProtonField(G4V3DNucleus *nucleus)
virtual G4double GetOuterRadius()=0
G4double Z13(G4int Z) const
static constexpr double m
virtual G4double GetField(const G4ThreeVector &aPosition)
void Init(G4int anA, G4int aZ)
G4V3DNucleus * theNucleus
virtual G4double GetBarrier()
static constexpr double MeV
static constexpr double fermi
G4double bindingEnergy(G4int A, G4int Z)