source: trunk/source/processes/hadronic/models/cascade/cascade/src/bindingEnergyAsymptotic.cc @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 2.6 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26// $Id: bindingEnergyAsymptotic.cc,v 1.13 2010/09/14 17:51:36 mkelsey Exp $
27// Geant4 tag: $Name: hadr-casc-V09-03-85 $
28//
29// 20100202  M. Kelsey -- Eliminate unnecessary use of std::pow()
30// 20100914  M. Kelsey -- Migrate to integer A and Z; discard unused verbose
31
32#include "G4InuclSpecialFunctions.hh"
33
34G4double G4InuclSpecialFunctions::bindingEnergyAsymptotic(G4int A, G4int Z) {
35  // calculates the nuclei binding energy
36  // using smooth liquid high energy formula 
37  G4double X = (1.0 - 2.0*Z/A); X *= X;
38  G4double X1 = G4cbrt(A);
39  G4double X2 = X1 * X1;
40  G4double X3 = 1.0 / X1;
41  G4double X4 = 1.0 / X2;
42  G4double X5 = (1.0 - 0.62025 * X4); X5 *= X5;
43
44  G4double DM = 17.035 * (1.0 - 1.846 * X) * A -
45    25.8357 * (1.0 - 1.712 * X) * X2 * X5 -
46    0.779 * Z * (Z - 1) * X3 * 
47    (1.0 - 1.5849 * X4 + 1.2273 / A + 1.5772 * X4 * X4) +
48    0.4328 * G4cbrt(Z*Z*Z*Z) * X3 * 
49    (1.0 - 0.57811 * X3 - 0.14518 * X4 + 0.496 / A);
50
51  return DM;
52}
Note: See TracBrowser for help on using the repository browser.