- Timestamp:
- Jan 8, 2010, 11:56:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/util/include/G4NuclearFermiDensity.hh
r819 r1228 56 56 G4double GetDeriv(const G4ThreeVector & aPosition) const 57 57 { 58 return -std::exp((aPosition.mag()-theR)/a) * sqr(GetDensity(aPosition)) / (a*Getrho0()); 58 G4double currentR=aPosition.mag(); 59 if (currentR > 40*theR ) {return 0;} 60 else return -std::exp((currentR-theR)/a) * sqr(GetDensity(aPosition)) / (a*Getrho0()); 59 61 } 60 62
Note: See TracChangeset
for help on using the changeset viewer.