#include <G4StatMFMacroNucleon.hh>
Definition at line 38 of file G4StatMFMacroNucleon.hh.
◆ G4StatMFMacroNucleon()
G4StatMFMacroNucleon::G4StatMFMacroNucleon |
( |
| ) |
|
|
inline |
◆ ~G4StatMFMacroNucleon()
G4StatMFMacroNucleon::~G4StatMFMacroNucleon |
( |
| ) |
|
|
inline |
◆ CalcEnergy()
◆ CalcEntropy()
Implements G4VStatMFMacroCluster.
Definition at line 98 of file G4StatMFMacroNucleon.cc.
99{
100 const G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
101 const G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
102
104 if (_NeutronMeanMultiplicity > 0.0)
105 NeutronEntropy = _NeutronMeanMultiplicity*(5./2.+
107 (lambda3*_NeutronMeanMultiplicity)));
108
109
111 if (_ProtonMeanMultiplicity > 0.0)
112 ProtonEntropy = _ProtonMeanMultiplicity*(5./2.+
114 (lambda3*_ProtonMeanMultiplicity)));
115
116
117 return NeutronEntropy+ProtonEntropy;
118}
◆ CalcMeanMultiplicity()
Implements G4VStatMFMacroCluster.
Definition at line 59 of file G4StatMFMacroNucleon.cc.
61{
62 if (T <= 0.0)
throw G4HadronicException(__FILE__, __LINE__,
"G4StatMFMacroNucleon::CalcMeanMultiplicity: Temperature less or equal 0");
63 const G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
64
65 const G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
66
68
71
72 G4double exponent_proton = (mu+nu-Coulomb)/T;
74
75 if (exponent_neutron > 700.0) exponent_neutron = 700.0;
76 if (exponent_proton > 700.0) exponent_proton = 700.0;
77
78 _NeutronMeanMultiplicity = (degeneracy*FreeVol/lambda3)*std::exp(exponent_neutron);
79
80 _ProtonMeanMultiplicity = (degeneracy*FreeVol/lambda3)*std::exp(exponent_proton);
81
82
83
85
86}
G4double _MeanMultiplicity
◆ CalcZARatio()
Implements G4VStatMFMacroCluster.
Definition at line 66 of file G4StatMFMacroNucleon.hh.
67 { if (_ProtonMeanMultiplicity+_NeutronMeanMultiplicity > 0.0)
69 (_ProtonMeanMultiplicity+_NeutronMeanMultiplicity);
70 else return 0.0; }
The documentation for this class was generated from the following files: