37 theRsquare= r0sq * std::pow(
G4double(theA), 2./3. );
38 Setrho0(std::pow(1./(
pi*theRsquare),3./2.));
45 return std::exp(-1*aPosition.
mag2()/theRsquare);
51 return (maxRelativeDensity>0 && maxRelativeDensity <= 1 ) ?
52 std::sqrt(theRsquare * std::log(1/maxRelativeDensity) ) :
DBL_MAX;
57 return -2* aPosition.
mag() / theRsquare *
GetDensity(aPosition);
G4double GetDeriv(const G4ThreeVector &aPosition) const
G4double GetRelativeDensity(const G4ThreeVector &aPosition) const
void Setrho0(G4double arho0)
G4NuclearShellModelDensity(G4int anA, G4int aZ)
G4double GetDensity(const G4ThreeVector &aPosition) const
G4double GetRadius(const G4double maxRelativeDenisty) const
~G4NuclearShellModelDensity()