00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // 20100202 M. Kelsey -- Eliminate unnecessary use of std::pow() 00029 // 20100914 M. Kelsey -- Migrate to integer A and Z; discard unused verbose 00030 00031 #include "G4InuclSpecialFunctions.hh" 00032 00033 G4double G4InuclSpecialFunctions::bindingEnergyAsymptotic(G4int A, G4int Z) { 00034 // calculates the nuclei binding energy 00035 // using smooth liquid high energy formula 00036 G4double X = (1.0 - 2.0*Z/A); X *= X; 00037 G4double X1 = G4cbrt(A); 00038 G4double X2 = X1 * X1; 00039 G4double X3 = 1.0 / X1; 00040 G4double X4 = 1.0 / X2; 00041 G4double X5 = (1.0 - 0.62025 * X4); X5 *= X5; 00042 00043 G4double DM = 17.035 * (1.0 - 1.846 * X) * A - 00044 25.8357 * (1.0 - 1.712 * X) * X2 * X5 - 00045 0.779 * Z * (Z - 1) * X3 * 00046 (1.0 - 1.5849 * X4 + 1.2273 / A + 1.5772 * X4 * X4) + 00047 0.4328 * G4cbrt(Z*Z*Z*Z) * X3 * 00048 (1.0 - 0.57811 * X3 - 0.14518 * X4 + 0.496 / A); 00049 00050 return DM; 00051 }