Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (14 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/abrasion/src/G4NuclearAbrasionGeometry.cc

    r819 r1347  
    194194  return Es;
    195195}
    196 //////////////////////////////////////////////////////////////////////////////////////
    197 //
     196
     197
    198198G4double G4NuclearAbrasionGeometry::GetExcitationEnergyOfTarget ()
    199199{
    200 //
    201 //
    202 // This member function declares a new G4NuclearAbrasionGeometry object but with the
    203 // projectile and target exchanged to determine the values for F and P.  Determination
    204 // of the excess surface area and excitation energy is as above.
    205 //
    206   G4NuclearAbrasionGeometry *revAbrasionGeometry =
     200  // This member function declares a new G4NuclearAbrasionGeometry object
     201  // but with the projectile and target exchanged to determine the values
     202  // for F and P.  Determination of the excess surface area and excitation
     203  // energy is as above.
     204
     205  G4NuclearAbrasionGeometry* revAbrasionGeometry =
    207206    new G4NuclearAbrasionGeometry(AT, AP, r);
    208207  G4double F1 = revAbrasionGeometry->F();
     
    212211  Es = 0.95 * MeV * 4.0 * pi * rT*rT/fermi/fermi *
    213212       (1.0+P1-std::pow(1.0-F1,2.0/3.0));
     213
    214214//  if (rP < rT && r < rT-rP)
    215   if ((r-rT)/rP < rth)
    216   {
     215  if ((r-rT)/rP < rth) {
    217216    G4double omega = 0.0;
    218217    if      (AT < 12.0)  omega = 1500.0;
     
    225224  else if (Es > B * AT)
    226225    Es = B * AT;
     226
     227  delete revAbrasionGeometry;
     228
    227229  return Es;
    228230}
    229 ////////////////////////////////////////////////////////////////////////////////
    230 //
Note: See TracChangeset for help on using the changeset viewer.