Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4StatMFMacroBiNucleon Class Reference

#include <G4StatMFMacroBiNucleon.hh>

Inheritance diagram for G4StatMFMacroBiNucleon:
Collaboration 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
 
G4double GetMeanMultiplicity (void) const
 
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 38 of file G4StatMFMacroBiNucleon.hh.

Constructor & Destructor Documentation

G4StatMFMacroBiNucleon::G4StatMFMacroBiNucleon ( )
inline
G4StatMFMacroBiNucleon::~G4StatMFMacroBiNucleon ( )
inline

Definition at line 46 of file G4StatMFMacroBiNucleon.hh.

46 {};

Member Function Documentation

G4double G4StatMFMacroBiNucleon::CalcEnergy ( const G4double  T)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 88 of file G4StatMFMacroBiNucleon.cc.

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

Here is the call graph for this function:

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

Implements G4VStatMFMacroCluster.

Definition at line 97 of file G4StatMFMacroBiNucleon.cc.

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

Here is the call graph for this function:

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

Implements G4VStatMFMacroCluster.

Definition at line 64 of file G4StatMFMacroBiNucleon.cc.

68 {
69  G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
70  G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
71 
73  //old value was 2.796*MeV
74  G4double exponent = (BindingE + theA*(mu+nu*theZARatio) -
76  *G4Pow::GetInstance()->Z23(theA))/T;
77 
78  // To avoid numerical problems
79  if (exponent < -300.0) exponent = -300.0;
80  else if (exponent > 300.0) exponent = 300.0;
81 
82  _MeanMultiplicity = (degeneracy*FreeVol*theA*std::sqrt((G4double)theA)/lambda3)*
83  G4Exp(exponent);
84 
85  return _MeanMultiplicity;
86 }
static G4Pow * GetInstance()
Definition: G4Pow.cc:55
static const G4double degeneracy
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:183
static G4double GetBindingEnergy(const G4int A, const G4int Z)
static G4double GetCoulomb()
G4double Z23(G4int Z) const
Definition: G4Pow.hh:154
double G4double
Definition: G4Types.hh:76
static constexpr double fermi
Definition: G4SIunits.hh:103

Here is the call graph for this function:

G4double G4StatMFMacroBiNucleon::CalcZARatio ( const G4double  )
inlinevirtual

Implements G4VStatMFMacroCluster.

Definition at line 66 of file G4StatMFMacroBiNucleon.hh.

66 {return theZARatio = 0.5;}

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