#include <G4StatMFMacroTemperature.hh>
Definition at line 42 of file G4StatMFMacroTemperature.hh.
◆ G4StatMFMacroTemperature() [1/3]
Definition at line 47 of file G4StatMFMacroTemperature.cc.
G4double _ChemPotentialNu
G4double _MeanMultiplicity
std::vector< G4VStatMFMacroCluster * > * _theClusters
G4double _ChemPotentialMu
G4double _MeanTemperature
◆ ~G4StatMFMacroTemperature()
G4StatMFMacroTemperature::~G4StatMFMacroTemperature |
( |
| ) |
|
◆ G4StatMFMacroTemperature() [2/3]
G4StatMFMacroTemperature::G4StatMFMacroTemperature |
( |
| ) |
|
|
private |
◆ G4StatMFMacroTemperature() [3/3]
◆ CalcChemicalPotentialNu()
void G4StatMFMacroTemperature::CalcChemicalPotentialNu |
( |
const G4double |
T | ) |
|
|
private |
Definition at line 186 of file G4StatMFMacroTemperature.cc.
G4double GetChemicalPotentialMu(void) const
G4double _ChemPotentialNu
G4double GetMeanMultiplicity(void) const
G4double CalcChemicalPotentialNu(void)
G4double _MeanMultiplicity
std::vector< G4VStatMFMacroCluster * > * _theClusters
G4double _ChemPotentialMu
◆ CalcTemperature()
G4double G4StatMFMacroTemperature::CalcTemperature |
( |
void |
| ) |
|
Definition at line 66 of file G4StatMFMacroTemperature.cc.
86 while (fTa < 0.0 && ++iterations < 10) {
93 while (fTa*fTb > 0.0 && iterations++ < 10) {
94 Tb += 2.*std::fabs(Tb-Ta);
99 G4cerr <<
"G4StatMFMacroTemperature:"<<
" Ta="<<Ta<<
" Tb="<<Tb<<
G4endl;
100 G4cerr <<
"G4StatMFMacroTemperature:"<<
" fTa="<<fTa<<
" fTb="<<fTb<<
G4endl;
101 throw G4HadronicException(__FILE__, __LINE__,
"G4StatMFMacroTemperature::CalcTemperature: I couldn't bracket the solution.");
108 G4cout <<
"G4StatMFMacroTemperature, Crenshaw method failed:"<<
" Ta=" 109 <<Ta<<
" Tb="<<Tb<<
G4endl;
110 G4cout <<
"G4StatMFMacroTemperature, Crenshaw method failed:"<<
" fTa=" 111 <<fTa<<
" fTb="<<fTb<<
G4endl;
119 if (std::fabs(FunctionValureAtRoot) > 5.
e-2) {
120 if (_MeanTemperature < 1. || _MeanTemperature > 50.) {
121 G4cout <<
"Crenshaw method failed; function = " << FunctionValureAtRoot
126 if (!theSolverBrent->
Brent(*
this)){
127 G4cout <<
"G4StatMFMacroTemperature, Brent method failed:" 128 <<
" Ta="<<Ta<<
" Tb="<<Tb<<
G4endl;
129 G4cout <<
"G4StatMFMacroTemperature, Brent method failed:" 130 <<
" fTa="<<fTa<<
" fTb="<<fTb<<
G4endl;
131 throw G4HadronicException(__FILE__, __LINE__,
"G4StatMFMacroTemperature::CalcTemperature: I couldn't find the root with any method.");
136 delete theSolverBrent;
138 if (std::abs(FunctionValureAtRoot) > 5.
e-2) {
139 G4cout <<
"Brent method failed; function = " << FunctionValureAtRoot
141 throw G4HadronicException(__FILE__, __LINE__,
"G4StatMFMacroTemperature::CalcTemperature: I couldn't find the root with any method.");
void SetIntervalLimits(const G4double Limit1, const G4double Limit2)
G4bool Brent(Function &theFunction)
G4GLOB_DLL std::ostream G4cout
G4double operator()(const G4double T)
G4bool Crenshaw(Function &theFunction)
G4double GetRoot(void) const
G4GLOB_DLL std::ostream G4cerr
G4double _MeanTemperature
◆ FragsExcitEnergy()
Definition at line 150 of file G4StatMFMacroTemperature.cc.
166 std::vector<G4VStatMFMacroCluster*>::iterator i;
169 AverageEnergy += (*i)->GetMeanMultiplicity() * (*i)->CalcEnergy(T);
static G4Pow * GetInstance()
static G4double GetKappaCoulomb()
G4double Z13(G4int Z) const
G4double A13(G4double A) const
void CalcChemicalPotentialNu(const G4double T)
std::vector< G4VStatMFMacroCluster * > * _theClusters
◆ GetChemicalPotentialMu()
G4double G4StatMFMacroTemperature::GetChemicalPotentialMu |
( |
void |
| ) |
const |
|
inline |
◆ GetChemicalPotentialNu()
G4double G4StatMFMacroTemperature::GetChemicalPotentialNu |
( |
void |
| ) |
const |
|
inline |
◆ GetEntropy()
G4double G4StatMFMacroTemperature::GetEntropy |
( |
void |
| ) |
const |
|
inline |
◆ GetMeanMultiplicity()
G4double G4StatMFMacroTemperature::GetMeanMultiplicity |
( |
void |
| ) |
const |
|
inline |
◆ GetTemperature()
G4double G4StatMFMacroTemperature::GetTemperature |
( |
void |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator()()
◆ operator=()
◆ operator==()
◆ _ChemPotentialMu
G4double G4StatMFMacroTemperature::_ChemPotentialMu |
|
private |
◆ _ChemPotentialNu
G4double G4StatMFMacroTemperature::_ChemPotentialNu |
|
private |
◆ _ExEnergy
G4double G4StatMFMacroTemperature::_ExEnergy |
|
private |
◆ _FreeInternalE0
G4double G4StatMFMacroTemperature::_FreeInternalE0 |
|
private |
◆ _Kappa
G4double G4StatMFMacroTemperature::_Kappa |
|
private |
◆ _MeanEntropy
G4double G4StatMFMacroTemperature::_MeanEntropy |
|
private |
◆ _MeanMultiplicity
G4double G4StatMFMacroTemperature::_MeanMultiplicity |
|
private |
◆ _MeanTemperature
G4double G4StatMFMacroTemperature::_MeanTemperature |
|
private |
◆ _theClusters
◆ theA
◆ theZ
The documentation for this class was generated from the following files: