Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4StatMFMacroBiNucleon Class Reference

#include <G4StatMFMacroBiNucleon.hh>

+ Inheritance diagram for G4StatMFMacroBiNucleon:

Public Member Functions

 G4StatMFMacroBiNucleon ()
 
 ~G4StatMFMacroBiNucleon ()
 
G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)
 
G4double CalcZARatio (const G4double)
 
G4double CalcEnergy (const G4double T)
 
G4double CalcEntropy (const G4double T, const G4double FreeVol)
 
- Public Member Functions inherited from G4VStatMFMacroCluster
 G4VStatMFMacroCluster (const G4int Size)
 
virtual ~G4VStatMFMacroCluster ()
 
G4bool operator== (const G4VStatMFMacroCluster &right) const
 
G4bool operator!= (const G4VStatMFMacroCluster &right) const
 
virtual G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)=0
 
virtual G4double CalcZARatio (const G4double nu)=0
 
G4double GetMeanMultiplicity (void) const
 
virtual G4double CalcEnergy (const G4double T)=0
 
virtual G4double CalcEntropy (const G4double T, const G4double FreeVol)=0
 
G4double GetInvLevelDensity (void) const
 
void SetZARatio (const G4double value)
 
G4double GetZARatio (void) const
 
void SetSize (const G4double value)
 
G4double GetSize (void) const
 

Additional Inherited Members

- Protected Attributes inherited from G4VStatMFMacroCluster
G4int theA
 
G4double _InvLevelDensity
 
G4double _Entropy
 
G4double theZARatio
 
G4double _MeanMultiplicity
 
G4double _Energy
 

Detailed Description

Definition at line 37 of file G4StatMFMacroBiNucleon.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroBiNucleon()

G4StatMFMacroBiNucleon::G4StatMFMacroBiNucleon ( )
inline

◆ ~G4StatMFMacroBiNucleon()

G4StatMFMacroBiNucleon::~G4StatMFMacroBiNucleon ( )
inline

Definition at line 45 of file G4StatMFMacroBiNucleon.hh.

45{};

Member Function Documentation

◆ CalcEnergy()

G4double G4StatMFMacroBiNucleon::CalcEnergy ( const G4double  T)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 87 of file G4StatMFMacroBiNucleon.cc.

88{
91 * theA*G4Pow::GetInstance()->Z23(theA) + 1.5*T;
92
93 return _Energy;
94}
static G4double GetBindingEnergy(const G4int A, const G4int Z)
static G4Pow * GetInstance()
Definition: G4Pow.cc:41
G4double Z23(G4int Z) const
Definition: G4Pow.hh:125
static G4double GetCoulomb()

◆ CalcEntropy()

G4double G4StatMFMacroBiNucleon::CalcEntropy ( const G4double  T,
const G4double  FreeVol 
)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 96 of file G4StatMFMacroBiNucleon.cc.

97{
98 G4double Entropy = 0.0;
99 if (_MeanMultiplicity > 0.0) {
100 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
101 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
102 // Is this formula correct?
103 Entropy = _MeanMultiplicity*(2.5+G4Log(3.0*theA*std::sqrt((G4double)theA)*FreeVol
104 /(lambda3*_MeanMultiplicity)));
105 }
106 return Entropy;
107}
G4double G4Log(G4double x)
Definition: G4Log.hh:227
double G4double
Definition: G4Types.hh:83

◆ CalcMeanMultiplicity()

G4double G4StatMFMacroBiNucleon::CalcMeanMultiplicity ( const G4double  FreeVol,
const G4double  mu,
const G4double  nu,
const G4double  T 
)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 63 of file G4StatMFMacroBiNucleon.cc.

67{
68 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
69 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
70
72 //old value was 2.796*MeV
73 G4double exponent = (BindingE + theA*(mu+nu*theZARatio) -
76
77 // To avoid numerical problems
78 if (exponent < -300.0) exponent = -300.0;
79 else if (exponent > 300.0) exponent = 300.0;
80
81 _MeanMultiplicity = (degeneracy*FreeVol*theA*std::sqrt((G4double)theA)/lambda3)*
82 G4Exp(exponent);
83
84 return _MeanMultiplicity;
85}
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:180

◆ CalcZARatio()

G4double G4StatMFMacroBiNucleon::CalcZARatio ( const  G4double)
inlinevirtual

Implements G4VStatMFMacroCluster.

Definition at line 65 of file G4StatMFMacroBiNucleon.hh.

65{return theZARatio = 0.5;}

The documentation for this class was generated from the following files: