28#ifndef G4NuclearFermiDensity_h
29#define G4NuclearFermiDensity_h 1
47 return 1./(1.+std::exp((aPosition.
mag()-theR)/a));
52 return (maxRelativeDenisty>0 && maxRelativeDenisty <= 1 ) ?
53 (theR + a*std::log((1-maxRelativeDenisty+std::exp(-1*theR/a))/maxRelativeDenisty)) :
DBL_MAX;
59 if (currentR > 40*theR ) {
return 0;}
G4double GetRelativeDensity(const G4ThreeVector &aPosition) const
G4double GetDeriv(const G4ThreeVector &aPosition) const
G4double GetRadius(const G4double maxRelativeDenisty) const
G4double GetDensity(const G4ThreeVector &aPosition) const