47 return G4Exp(-1*aPosition.
mag2()/theRsquare);
53 return (maxRelativeDensity>0 && maxRelativeDensity <= 1 ) ?
54 std::sqrt(theRsquare *
G4Log(1/maxRelativeDensity) ) :
DBL_MAX;
59 return -2* aPosition.
mag() / theRsquare *
GetDensity(aPosition);
static G4Pow * GetInstance()
G4double GetDeriv(const G4ThreeVector &aPosition) const
G4double GetRelativeDensity(const G4ThreeVector &aPosition) const
void Setrho0(G4double arho0)
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4NuclearShellModelDensity(G4int anA, G4int aZ)
G4double GetDensity(const G4ThreeVector &aPosition) const
G4double GetRadius(const G4double maxRelativeDenisty) const
G4double Z23(G4int Z) const
~G4NuclearShellModelDensity()
static constexpr double pi
static constexpr double fermi