[819] | 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 | // |
---|
[962] | 27 | // $Id: G4StatMFMacroMultiNucleon.cc,v 1.7 2008/11/19 14:33:31 vnivanch Exp $ |
---|
| 28 | // GEANT4 tag $Name: geant4-09-02-ref-02 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Nuclear De-excitations |
---|
| 31 | // by V. Lara |
---|
[962] | 32 | // |
---|
| 33 | // Modified: |
---|
| 34 | // 25.07.08 I.Pshenichnov (in collaboration with Alexander Botvina and Igor |
---|
| 35 | // Mishustin (FIAS, Frankfurt, INR, Moscow and Kurchatov Institute, |
---|
| 36 | // Moscow, pshenich@fias.uni-frankfurt.de) fixed computation of the |
---|
| 37 | // symmetry energy |
---|
[819] | 38 | |
---|
| 39 | #include "G4StatMFMacroMultiNucleon.hh" |
---|
| 40 | |
---|
| 41 | // Default constructor |
---|
| 42 | G4StatMFMacroMultiNucleon:: |
---|
| 43 | G4StatMFMacroMultiNucleon() : |
---|
| 44 | G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private |
---|
| 45 | { |
---|
| 46 | throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::default_constructor meant to not be accessable"); |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | // Copy constructor |
---|
| 50 | G4StatMFMacroMultiNucleon:: |
---|
| 51 | G4StatMFMacroMultiNucleon(const G4StatMFMacroMultiNucleon & ) : |
---|
| 52 | G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private |
---|
| 53 | { |
---|
| 54 | throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::copy_constructor meant to not be accessable"); |
---|
| 55 | } |
---|
| 56 | |
---|
| 57 | // Operators |
---|
| 58 | |
---|
| 59 | G4StatMFMacroMultiNucleon & G4StatMFMacroMultiNucleon:: |
---|
| 60 | operator=(const G4StatMFMacroMultiNucleon & ) |
---|
| 61 | { |
---|
| 62 | throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator= meant to not be accessable"); |
---|
| 63 | return *this; |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | G4bool G4StatMFMacroMultiNucleon::operator==(const G4StatMFMacroMultiNucleon & ) const |
---|
| 68 | { |
---|
| 69 | throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator== meant to not be accessable"); |
---|
| 70 | return false; |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | G4bool G4StatMFMacroMultiNucleon::operator!=(const G4StatMFMacroMultiNucleon & ) const |
---|
| 75 | { |
---|
| 76 | throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator!= meant to not be accessable"); |
---|
| 77 | return true; |
---|
| 78 | } |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | G4double G4StatMFMacroMultiNucleon::CalcMeanMultiplicity(const G4double FreeVol, const G4double mu, |
---|
| 83 | const G4double nu, const G4double T) |
---|
| 84 | { |
---|
| 85 | const G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T); |
---|
| 86 | |
---|
| 87 | const G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght; |
---|
| 88 | |
---|
| 89 | const G4double A23 = std::pow(static_cast<G4double>(theA),2./3.); |
---|
| 90 | |
---|
| 91 | const G4double Coulomb = (3./5.)*(elm_coupling/G4StatMFParameters::Getr0())* |
---|
| 92 | (1.0 - 1.0/std::pow(1.0+G4StatMFParameters::GetKappaCoulomb(),1./3.)); |
---|
| 93 | |
---|
| 94 | G4double exponent = (mu + nu*theZARatio+ G4StatMFParameters::GetE0() + T*T/_InvLevelDensity |
---|
| 95 | - G4StatMFParameters::GetGamma0()*(1.0 - 2.0*theZARatio)* |
---|
| 96 | (1.0 - 2.0*theZARatio))*theA |
---|
| 97 | - G4StatMFParameters::Beta(T)*A23 - Coulomb*theZARatio*theZARatio*A23*theA; |
---|
| 98 | |
---|
| 99 | exponent /= T; |
---|
| 100 | |
---|
| 101 | if (exponent > 30.0) exponent = 30.0; |
---|
| 102 | |
---|
| 103 | _MeanMultiplicity = std::max((FreeVol * static_cast<G4double>(theA) * |
---|
| 104 | std::sqrt(static_cast<G4double>(theA))/lambda3) * |
---|
| 105 | std::exp(exponent),1.0e-30); |
---|
| 106 | return _MeanMultiplicity; |
---|
| 107 | } |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | G4double G4StatMFMacroMultiNucleon::CalcZARatio(const G4double nu) |
---|
| 111 | { |
---|
| 112 | const G4double Coulomb = (3./5.)*(elm_coupling/G4StatMFParameters::Getr0())* |
---|
| 113 | (1.0 - 1.0/std::pow(1.0+G4StatMFParameters::GetKappaCoulomb(),1./3.)); |
---|
| 114 | |
---|
| 115 | G4double den = 8.0*G4StatMFParameters::GetGamma0()+2.0*Coulomb*std::pow(static_cast<G4double>(theA),2./3.); |
---|
| 116 | G4double num = 4.0*G4StatMFParameters::GetGamma0()+nu; |
---|
| 117 | |
---|
| 118 | return theZARatio = num/den; |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | G4double G4StatMFMacroMultiNucleon::CalcEnergy(const G4double T) |
---|
| 126 | { |
---|
| 127 | const G4double Coulomb = (3./5.)*(elm_coupling/G4StatMFParameters::Getr0())* |
---|
| 128 | (1.0 - 1.0/std::pow(1.0+G4StatMFParameters::GetKappaCoulomb(),1./3.)); |
---|
| 129 | |
---|
| 130 | const G4double A23 = std::pow(static_cast<G4double>(theA),2./3.); |
---|
| 131 | |
---|
| 132 | // Volume term |
---|
| 133 | G4double EVol = static_cast<G4double>(theA) * (T*T/_InvLevelDensity - G4StatMFParameters::GetE0()); |
---|
| 134 | |
---|
| 135 | // Symmetry term |
---|
[962] | 136 | G4double ESym = static_cast<G4double>(theA) * G4StatMFParameters::GetGamma0() *(1. - 2.* theZARatio) * (1. - 2.* theZARatio); |
---|
[819] | 137 | |
---|
| 138 | // Surface term |
---|
| 139 | G4double ESurf = A23*(G4StatMFParameters::Beta(T) - T*G4StatMFParameters::DBetaDT(T)); |
---|
| 140 | |
---|
| 141 | // Coulomb term |
---|
| 142 | G4double ECoul = Coulomb*A23*static_cast<G4double>(theA)*theZARatio*theZARatio; |
---|
| 143 | |
---|
| 144 | // Translational term |
---|
| 145 | G4double ETrans = (3./2.)*T; |
---|
| 146 | |
---|
[962] | 147 | |
---|
| 148 | return _Energy = EVol + ESurf + ECoul + ETrans + ESym; |
---|
[819] | 149 | } |
---|
| 150 | |
---|
| 151 | |
---|
| 152 | G4double G4StatMFMacroMultiNucleon::CalcEntropy(const G4double T, const G4double FreeVol) |
---|
| 153 | { |
---|
| 154 | const G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T); |
---|
| 155 | const G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght; |
---|
| 156 | |
---|
| 157 | G4double Entropy = 0.0; |
---|
| 158 | if (_MeanMultiplicity > 0.0) { |
---|
| 159 | // Volume term |
---|
| 160 | G4double SV = 2.0*static_cast<G4double>(theA)*T/_InvLevelDensity; |
---|
| 161 | |
---|
| 162 | // Surface term |
---|
| 163 | G4double SS = -G4StatMFParameters::DBetaDT(T)*std::pow(static_cast<G4double>(theA),2./3.); |
---|
| 164 | |
---|
| 165 | // Translational term |
---|
| 166 | G4double ST = (5./2.)+std::log(FreeVol * std::sqrt(static_cast<G4double>(theA)) * |
---|
| 167 | static_cast<G4double>(theA)/(lambda3*_MeanMultiplicity)); |
---|
| 168 | |
---|
| 169 | |
---|
| 170 | Entropy = _MeanMultiplicity*(SV + SS + ST); |
---|
| 171 | } |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | return Entropy; |
---|
| 175 | } |
---|