Geant4-11
Public Member Functions | Protected Attributes | Private Member Functions
G4StatMFMacroBiNucleon Class Reference

#include <G4StatMFMacroBiNucleon.hh>

Inheritance diagram for G4StatMFMacroBiNucleon:
G4VStatMFMacroCluster

Public Member Functions

G4double CalcEnergy (const G4double T)
 
G4double CalcEntropy (const G4double T, const G4double FreeVol)
 
G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)
 
G4double CalcZARatio (const G4double)
 
 G4StatMFMacroBiNucleon ()
 
G4double GetInvLevelDensity (void) const
 
G4double GetMeanMultiplicity (void) const
 
G4double GetSize (void) const
 
G4double GetZARatio (void) const
 
G4bool operator!= (const G4VStatMFMacroCluster &right) const
 
G4bool operator== (const G4VStatMFMacroCluster &right) const
 
void SetSize (const G4double value)
 
void SetZARatio (const G4double value)
 
 ~G4StatMFMacroBiNucleon ()
 

Protected Attributes

G4double _Energy
 
G4double _Entropy
 
G4double _InvLevelDensity
 
G4double _MeanMultiplicity
 
G4int theA
 
G4double theZARatio
 

Private Member Functions

G4double CalcInvLevelDensity (void)
 
 G4StatMFMacroBiNucleon (const G4StatMFMacroBiNucleon &right)
 
G4bool operator!= (const G4StatMFMacroBiNucleon &right) const
 
G4StatMFMacroBiNucleonoperator= (const G4StatMFMacroBiNucleon &right)
 
G4bool operator== (const G4StatMFMacroBiNucleon &right) const
 

Detailed Description

Definition at line 37 of file G4StatMFMacroBiNucleon.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroBiNucleon() [1/2]

G4StatMFMacroBiNucleon::G4StatMFMacroBiNucleon ( )
inline

◆ ~G4StatMFMacroBiNucleon()

G4StatMFMacroBiNucleon::~G4StatMFMacroBiNucleon ( )
inline

Definition at line 45 of file G4StatMFMacroBiNucleon.hh.

45{};

◆ G4StatMFMacroBiNucleon() [2/2]

G4StatMFMacroBiNucleon::G4StatMFMacroBiNucleon ( const G4StatMFMacroBiNucleon right)
private

Member Function Documentation

◆ CalcEnergy()

G4double G4StatMFMacroBiNucleon::CalcEnergy ( const G4double  T)
virtual

◆ 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:226
static constexpr double fermi
Definition: G4SIunits.hh:83
double G4double
Definition: G4Types.hh:83

References G4VStatMFMacroCluster::_MeanMultiplicity, fermi, G4Log(), and G4VStatMFMacroCluster::theA.

◆ CalcInvLevelDensity()

G4double G4VStatMFMacroCluster::CalcInvLevelDensity ( void  )
privateinherited

Definition at line 65 of file G4VStatMFMacroCluster.cc.

66{
67 // Calculate Inverse Density Level
68 // Epsilon0*(1 + 3 /(Af - 1))
69 if (theA == 1) return 0.0;
70 else return
71 G4StatMFParameters::GetEpsilon0()*(1.0+3.0/(static_cast<G4double>(theA-1)));
72}
static G4double GetEpsilon0()

References G4StatMFParameters::GetEpsilon0(), and G4VStatMFMacroCluster::theA.

Referenced by G4VStatMFMacroCluster::G4VStatMFMacroCluster(), and G4VStatMFMacroCluster::SetSize().

◆ 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:179
static const G4double degeneracy

References G4VStatMFMacroCluster::_MeanMultiplicity, degeneracy, fermi, G4Exp(), G4NucleiProperties::GetBindingEnergy(), G4StatMFParameters::GetCoulomb(), G4Pow::GetInstance(), G4VStatMFMacroCluster::theA, G4VStatMFMacroCluster::theZARatio, and G4Pow::Z23().

◆ CalcZARatio()

G4double G4StatMFMacroBiNucleon::CalcZARatio ( const  G4double)
inlinevirtual

Implements G4VStatMFMacroCluster.

Definition at line 65 of file G4StatMFMacroBiNucleon.hh.

65{return theZARatio = 0.5;}

References G4VStatMFMacroCluster::theZARatio.

◆ GetInvLevelDensity()

G4double G4VStatMFMacroCluster::GetInvLevelDensity ( void  ) const
inlineinherited

Definition at line 113 of file G4VStatMFMacroCluster.hh.

114 { return _InvLevelDensity; }

References G4VStatMFMacroCluster::_InvLevelDensity.

◆ GetMeanMultiplicity()

G4double G4VStatMFMacroCluster::GetMeanMultiplicity ( void  ) const
inlineinherited

Definition at line 85 of file G4VStatMFMacroCluster.hh.

85{ return _MeanMultiplicity; }

References G4VStatMFMacroCluster::_MeanMultiplicity.

◆ GetSize()

G4double G4VStatMFMacroCluster::GetSize ( void  ) const
inlineinherited

Definition at line 130 of file G4VStatMFMacroCluster.hh.

131 { return theA; }

References G4VStatMFMacroCluster::theA.

◆ GetZARatio()

G4double G4VStatMFMacroCluster::GetZARatio ( void  ) const
inlineinherited

Definition at line 119 of file G4VStatMFMacroCluster.hh.

120 { return theZARatio; }

References G4VStatMFMacroCluster::theZARatio.

◆ operator!=() [1/2]

G4bool G4StatMFMacroBiNucleon::operator!= ( const G4StatMFMacroBiNucleon right) const
private

Definition at line 57 of file G4StatMFMacroBiNucleon.cc.

58{
59 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroBiNucleon::operator!= meant to not be accessible");
60 return true;
61}

◆ operator!=() [2/2]

G4bool G4VStatMFMacroCluster::operator!= ( const G4VStatMFMacroCluster right) const
inherited

Definition at line 58 of file G4VStatMFMacroCluster.cc.

59{
60// throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::operator!= meant to not be accessible");
61 return true;
62}

◆ operator=()

G4StatMFMacroBiNucleon & G4StatMFMacroBiNucleon::operator= ( const G4StatMFMacroBiNucleon right)
private

Definition at line 43 of file G4StatMFMacroBiNucleon.cc.

45{
46 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroBiNucleon::operator= meant to not be accessible");
47 return *this;
48}

◆ operator==() [1/2]

G4bool G4StatMFMacroBiNucleon::operator== ( const G4StatMFMacroBiNucleon right) const
private

Definition at line 50 of file G4StatMFMacroBiNucleon.cc.

51{
52 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroBiNucleon::operator== meant to not be accessible");
53 return false;
54}

◆ operator==() [2/2]

G4bool G4VStatMFMacroCluster::operator== ( const G4VStatMFMacroCluster right) const
inherited

Definition at line 51 of file G4VStatMFMacroCluster.cc.

52{
53// throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::operator== meant to not be accessible");
54 return false;
55}

◆ SetSize()

void G4VStatMFMacroCluster::SetSize ( const G4double  value)
inlineinherited

Definition at line 123 of file G4VStatMFMacroCluster.hh.

124 {
125 if (value <= 0.0) throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::SetSize: Cluster's size must be >= 1");
126 theA = G4int(value);
128 }
int G4int
Definition: G4Types.hh:85
G4double CalcInvLevelDensity(void)

References G4VStatMFMacroCluster::_InvLevelDensity, G4VStatMFMacroCluster::CalcInvLevelDensity(), and G4VStatMFMacroCluster::theA.

◆ SetZARatio()

void G4VStatMFMacroCluster::SetZARatio ( const G4double  value)
inlineinherited

Definition at line 116 of file G4VStatMFMacroCluster.hh.

117 { theZARatio = value; }

References G4VStatMFMacroCluster::theZARatio.

Field Documentation

◆ _Energy

G4double G4VStatMFMacroCluster::_Energy
protectedinherited

◆ _Entropy

G4double G4VStatMFMacroCluster::_Entropy
protectedinherited

Definition at line 99 of file G4VStatMFMacroCluster.hh.

◆ _InvLevelDensity

G4double G4VStatMFMacroCluster::_InvLevelDensity
protectedinherited

◆ _MeanMultiplicity

G4double G4VStatMFMacroCluster::_MeanMultiplicity
protectedinherited

◆ theA

G4int G4VStatMFMacroCluster::theA
protectedinherited

◆ theZARatio

G4double G4VStatMFMacroCluster::theZARatio
protectedinherited

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