50 theFermi.
Init(theA, theZ);
55 G4double density = GetDensity(aPosition);
56 G4double fermiMom = GetFermiMomentum(density);
57 theFermiMomBuffer.push_back(fermiMom);
61 G4double density = GetDensity(aPosition);
62 G4double fermiMom = GetFermiMomentum(density);
63 theFermiMomBuffer.push_back(fermiMom);
67 theFermiMomBuffer.push_back(0);
71 theFermiMomBuffer.push_back(0);
81 unsigned int index =
static_cast<unsigned int>(x/(0.3*
fermi));
82 if( (index+2) > theFermiMomBuffer.size())
return theFermiMomBuffer.back();
83 G4double y1 = theFermiMomBuffer[index];
84 G4double y2 = theFermiMomBuffer[index+1];
87 G4double fermiMom = y1 + (x-x1)*(y2-y1)/(x2-x1);
virtual G4int GetCharge()=0
virtual G4int GetMassNumber()=0
G4NeutronField(G4V3DNucleus *nucleus)
virtual G4double GetField(const G4ThreeVector &aPosition)
virtual G4double GetOuterRadius()=0
static constexpr double m
static constexpr double neutron_mass_c2
void Init(G4int anA, G4int aZ)
G4V3DNucleus * theNucleus
virtual G4double GetBarrier()
static constexpr double fermi
virtual ~G4NeutronField()