54 theFermi.
Init(theA, theZ);
55 for (
G4double aR=0.;aR<theRadius; aR+=0.3*fermi)
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);
93 G4double y = -1*(fermiMom*fermiMom)/(2*proton_mass_c2)+theBarrier;
107 return bindingEnergy/theA+coulombBarrier;
void Init(G4int anA, G4int aZ)
static G4Pow * GetInstance()
G4double Z13(G4int Z) const
virtual G4double GetField(const G4ThreeVector &aPosition)
G4ProtonField(G4V3DNucleus *nucleus)
virtual G4double GetBarrier()
virtual G4double GetOuterRadius()=0
virtual G4int GetCharge()=0
virtual G4int GetMassNumber()=0
G4V3DNucleus * theNucleus