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

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

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 2.7 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// $Id: bindingEnergyAsymptotic.cc,v 1.11 2010/04/08 15:48:00 mkelsey Exp $
26// Geant4 tag: $Name: geant4-09-04-beta-cand-01 $
27//
28// 20100202  M. Kelsey -- Eliminate unnecessary use of std::pow()
29
30#include "G4InuclSpecialFunctions.hh"
31
32G4double G4InuclSpecialFunctions::bindingEnergyAsymptotic(G4double A, 
33                                                          G4double Z) {
34  G4int verboseLevel = 2;
35
36  if (verboseLevel > 3) {
37    G4cout << " >>> G4InuclSpecialFunctions::bindingEnergyAsymptotic" << G4endl;
38  }
39
40  // calculates the nuclei binding energy
41  // using smooth liquid high energy formula 
42  G4double X = (1.0 - 2.0 * Z / A) * (1.0 - 2.0 * Z / A);
43  G4double X1 = G4cbrt(A);
44  G4double X2 = X1 * X1;
45  G4double X3 = 1.0 / X1;
46  G4double X4 = 1.0 / X2;
47  G4double DM = 17.035 * (1.0 - 1.846 * X) * A -
48    25.8357 * (1.0 - 1.712 * X) * X2 * 
49    ((1.0  -0.62025 * X4) * (1.0 - 0.62025 * X4)) -
50    0.779 * Z * (Z - 1.0) * X3 * 
51    (1.0 - 1.5849 * X4 + 1.2273 / A + 1.5772 * X4 * X4) +
52    0.4328 * G4cbrt(Z*Z*Z*Z) * X3 * 
53    (1.0 - 0.57811 * X3 - 0.14518 * X4 + 0.496 / A);
54
55  return DM;
56}
Note: See TracBrowser for help on using the repository browser.