#include <G4StatMFMicroCanonical.hh>
Definition at line 46 of file G4StatMFMicroCanonical.hh.
◆ anonymous enum
◆ G4StatMFMicroCanonical() [1/3]
G4StatMFMicroCanonical::G4StatMFMicroCanonical |
( |
const G4Fragment & |
theFragment | ) |
|
◆ ~G4StatMFMicroCanonical()
G4StatMFMicroCanonical::~G4StatMFMicroCanonical |
( |
| ) |
|
◆ G4StatMFMicroCanonical() [2/3]
G4StatMFMicroCanonical::G4StatMFMicroCanonical |
( |
| ) |
|
|
inlineprivate |
◆ G4StatMFMicroCanonical() [3/3]
◆ CalcEntropyOfCompoundNucleus()
Definition at line 170 of file G4StatMFMicroCanonical.cc.
173{
177
180
184
186
187
188 if (Da == 0.0) {
189 TConf = Ta;
191 } else if (Da < 0.0) {
192 do {
193 Tb -= 0.5*Tb;
196 } while (Db < 0.0);
197 } else {
198 do {
199 Tb += 0.5*Tb;
202 } while (Db > 0.0);
203 }
204
206
207 for (
G4int i = 0; i < 1000; i++) {
209 if (std::abs(Ta-Tb) <=
eps) {
210 TConf = Tc;
212 }
215
216 if (Dc == 0.0) {
217 TConf = Tc;
219 }
220
221 if (Da*Dc < 0.0) {
222 Tb = Tc;
223 Db = Dc;
224 } else {
225 Ta = Tc;
226 Da = Dc;
227 }
228 }
229
231 "G4StatMFMicrocanoncal::CalcEntropyOfCompoundNucleus: I can't calculate the temperature"
233
234 return 0.0;
235}
static const G4double eps
static constexpr double MeV
G4GLOB_DLL std::ostream G4cout
G4double GetExcitationEnergy() const
static G4Pow * GetInstance()
G4double Z13(G4int Z) const
G4double CalcFreeInternalEnergy(const G4Fragment &theFragment, G4double T)
G4double CalcInvLevelDensity(G4int anA)
static G4double DBetaDT(G4double T)
G4double __FreeInternalE0
T max(const T t1, const T t2)
brief Return the largest of the two arguments
References G4VStatMFEnsemble::__FreeInternalE0, A, A13, CalcFreeInternalEnergy(), CalcInvLevelDensity(), G4StatMFParameters::DBetaDT(), eps, G4cout, G4endl, G4Fragment::GetA_asInt(), G4Fragment::GetExcitationEnergy(), G4Pow::GetInstance(), G4INCL::Math::max(), MeV, and G4Pow::Z13().
Referenced by Initialize().
◆ CalcFreeInternalEnergy()
Definition at line 146 of file G4StatMFMicroCanonical.cc.
148{
152
155
157
160
163
165
166 return VolumeTerm + SymmetryTerm + SurfaceTerm + CoulombTerm;
167}
static G4double GetGamma0()
static G4double Beta(G4double T)
static G4double GetEpsilon0()
References A, A13, G4StatMFParameters::Beta(), G4StatMFParameters::DBetaDT(), source.hepunit::elm_coupling, G4Fragment::GetA_asInt(), G4StatMFParameters::GetE0(), G4StatMFParameters::GetEpsilon0(), G4StatMFParameters::GetGamma0(), G4Pow::GetInstance(), G4StatMFParameters::Getr0(), G4Fragment::GetZ_asInt(), Z, and G4Pow::Z13().
Referenced by CalcEntropyOfCompoundNucleus().
◆ CalcInvLevelDensity()
G4double G4StatMFMicroCanonical::CalcInvLevelDensity |
( |
G4int |
anA | ) |
|
|
private |
◆ ChooseAandZ()
◆ GetMeanMultiplicity()
G4double G4VStatMFEnsemble::GetMeanMultiplicity |
( |
void |
| ) |
const |
|
inlineinherited |
◆ GetMeanTemperature()
G4double G4VStatMFEnsemble::GetMeanTemperature |
( |
void |
| ) |
const |
|
inlineinherited |
◆ Initialize()
void G4StatMFMicroCanonical::Initialize |
( |
const G4Fragment & |
theFragment | ) |
|
|
private |
Definition at line 57 of file G4StatMFMicroCanonical.cc.
58{
59
60 std::vector<G4StatMFMicroManager*>::iterator it;
61
62
64
69
70
72
73
75
77
79 ) +
80
82
84
85
87
88
90
91
93
94
96
97
99
100
102
104
105
107 if (
A > 110) MaxMult -= 1;
108
109 for (
G4int im = 2; im <= MaxMult; im++) {
113 }
114
115
118 W, [](
const G4double& running_total,
120 {
121 return running_total + manager->GetProbability();
122 } );
123
124
126 {
127 (*it)->Normalize(W);
128 }
129
131
135
137 {
141 }
142
143 return;
144}
G4double Z23(G4int Z) const
G4double CalcEntropyOfCompoundNucleus(const G4Fragment &theFragment, G4double &TConf)
static G4double GetBeta0()
References G4VStatMFEnsemble::__FreeInternalE0, G4VStatMFEnsemble::__MeanEntropy, G4VStatMFEnsemble::__MeanMultiplicity, G4VStatMFEnsemble::__MeanTemperature, _ThePartitionManagerVector, _WCompoundNucleus, A, CalcEntropyOfCompoundNucleus(), source.hepunit::elm_coupling, G4Fragment::GetA_asInt(), G4StatMFParameters::GetBeta0(), G4StatMFParameters::GetE0(), G4Fragment::GetExcitationEnergy(), G4StatMFParameters::GetGamma0(), G4Pow::GetInstance(), G4StatMFParameters::Getr0(), G4Fragment::GetZ_asInt(), MaxAllowedMultiplicity, Z, G4Pow::Z13(), and G4Pow::Z23().
Referenced by G4StatMFMicroCanonical().
◆ operator!=()
◆ operator=()
◆ operator==()
◆ __FreeInternalE0
G4double G4VStatMFEnsemble::__FreeInternalE0 |
|
protectedinherited |
◆ __MeanEntropy
G4double G4VStatMFEnsemble::__MeanEntropy |
|
protectedinherited |
◆ __MeanMultiplicity
G4double G4VStatMFEnsemble::__MeanMultiplicity |
|
protectedinherited |
◆ __MeanTemperature
G4double G4VStatMFEnsemble::__MeanTemperature |
|
protectedinherited |
◆ _ThePartitionManagerVector
◆ _WCompoundNucleus
G4double G4StatMFMicroCanonical::_WCompoundNucleus |
|
private |
The documentation for this class was generated from the following files: