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

#include <G4StatMFMacroMultiNucleon.hh>

Inheritance diagram for G4StatMFMacroMultiNucleon:
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 nu)
 
 G4StatMFMacroMultiNucleon (const G4int Size)
 
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)
 
 ~G4StatMFMacroMultiNucleon ()
 

Protected Attributes

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

Private Member Functions

G4double CalcInvLevelDensity (void)
 
 G4StatMFMacroMultiNucleon ()
 
 G4StatMFMacroMultiNucleon (const G4StatMFMacroMultiNucleon &right)
 
G4bool operator!= (const G4StatMFMacroMultiNucleon &right) const
 
G4StatMFMacroMultiNucleonoperator= (const G4StatMFMacroMultiNucleon &right)
 
G4bool operator== (const G4StatMFMacroMultiNucleon &right) const
 

Detailed Description

Definition at line 37 of file G4StatMFMacroMultiNucleon.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroMultiNucleon() [1/3]

G4StatMFMacroMultiNucleon::G4StatMFMacroMultiNucleon ( const G4int  Size)
inline

Definition at line 42 of file G4StatMFMacroMultiNucleon.hh.

◆ ~G4StatMFMacroMultiNucleon()

G4StatMFMacroMultiNucleon::~G4StatMFMacroMultiNucleon ( )
inline

Definition at line 45 of file G4StatMFMacroMultiNucleon.hh.

45{};

◆ G4StatMFMacroMultiNucleon() [2/3]

G4StatMFMacroMultiNucleon::G4StatMFMacroMultiNucleon ( )
private

Definition at line 45 of file G4StatMFMacroMultiNucleon.cc.

46 :
47 G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private
48{
49 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::default_constructor meant to not be accessible");
50}

◆ G4StatMFMacroMultiNucleon() [3/3]

G4StatMFMacroMultiNucleon::G4StatMFMacroMultiNucleon ( const G4StatMFMacroMultiNucleon right)
private

Definition at line 53 of file G4StatMFMacroMultiNucleon.cc.

54 :
55 G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private
56{
57 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::copy_constructor meant to not be accessible");
58}

Member Function Documentation

◆ CalcEnergy()

G4double G4StatMFMacroMultiNucleon::CalcEnergy ( const G4double  T)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 115 of file G4StatMFMacroMultiNucleon.cc.

116{
117 G4Pow* g4calc = G4Pow::GetInstance();
118 G4double A23 = g4calc->Z23(theA);
119
120 // Volume term
122
123 // Symmetry term
125 *(1. - 2.* theZARatio) * (1. - 2.* theZARatio);
126
127 // Surface term
129
130 // Coulomb term
132
133 // Translational term
134 G4double ETrans = 1.5*T;
135 return _Energy = EVol + ESurf + ECoul + ETrans + ESym;
136}
#define A23
double G4double
Definition: G4Types.hh:83
Definition: G4Pow.hh:49
static G4Pow * GetInstance()
Definition: G4Pow.cc:41
G4double Z23(G4int Z) const
Definition: G4Pow.hh:125
static G4double DBetaDT(G4double T)
static G4double GetE0()
static G4double GetGamma0()
static G4double Beta(G4double T)
static G4double GetCoulomb()

References G4VStatMFMacroCluster::_Energy, G4VStatMFMacroCluster::_InvLevelDensity, A23, G4StatMFParameters::Beta(), G4StatMFParameters::DBetaDT(), G4StatMFParameters::GetCoulomb(), G4StatMFParameters::GetE0(), G4StatMFParameters::GetGamma0(), G4Pow::GetInstance(), G4VStatMFMacroCluster::theA, G4VStatMFMacroCluster::theZARatio, and G4Pow::Z23().

◆ CalcEntropy()

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

Implements G4VStatMFMacroCluster.

Definition at line 138 of file G4StatMFMacroMultiNucleon.cc.

140{
141 G4double Entropy = 0.0;
142 if (_MeanMultiplicity > 0.0) {
143
144 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
145 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
146 // Volume term
147 G4double SV = 2.0*theA*T/_InvLevelDensity;
148
149 // Surface term
151
152 // Translational term
153 G4double ST = 2.5 + G4Log(FreeVol * std::sqrt((G4double)theA) * theA
154 /(lambda3*_MeanMultiplicity));
155
156 Entropy = _MeanMultiplicity*(SV + SS + ST);
157 }
158 return Entropy;
159}
G4double G4Log(G4double x)
Definition: G4Log.hh:226
static constexpr double fermi
Definition: G4SIunits.hh:83

References G4VStatMFMacroCluster::_InvLevelDensity, G4VStatMFMacroCluster::_MeanMultiplicity, G4StatMFParameters::DBetaDT(), fermi, G4Log(), G4Pow::GetInstance(), G4VStatMFMacroCluster::theA, and G4Pow::Z23().

◆ 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 G4StatMFMacroMultiNucleon::CalcMeanMultiplicity ( const G4double  FreeVol,
const G4double  mu,
const G4double  nu,
const G4double  T 
)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 81 of file G4StatMFMacroMultiNucleon.cc.

85{
86 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
87 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
88 G4Pow* g4calc = G4Pow::GetInstance();
89 G4double A23 = g4calc->Z23(theA);
90
91 G4double exponent = (mu + nu*theZARatio+ G4StatMFParameters::GetE0()
92 + T*T/_InvLevelDensity
94 (1.0 - 2.0*theZARatio))*theA
97
98 exponent /= T;
99
100 if (exponent > 30.0) exponent = 30.0;
101
102 _MeanMultiplicity = std::max((FreeVol * theA * std::sqrt((G4double)theA)/lambda3) *
103 G4Exp(exponent),1.0e-30);
104 return _MeanMultiplicity;
105}
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:179
T max(const T t1, const T t2)
brief Return the largest of the two arguments

References G4VStatMFMacroCluster::_InvLevelDensity, G4VStatMFMacroCluster::_MeanMultiplicity, A23, G4StatMFParameters::Beta(), fermi, G4Exp(), G4StatMFParameters::GetCoulomb(), G4StatMFParameters::GetE0(), G4StatMFParameters::GetGamma0(), G4Pow::GetInstance(), G4INCL::Math::max(), G4VStatMFMacroCluster::theA, G4VStatMFMacroCluster::theZARatio, and G4Pow::Z23().

◆ CalcZARatio()

G4double G4StatMFMacroMultiNucleon::CalcZARatio ( const G4double  nu)
virtual

◆ 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 G4StatMFMacroMultiNucleon::operator!= ( const G4StatMFMacroMultiNucleon right) const
private

Definition at line 75 of file G4StatMFMacroMultiNucleon.cc.

76{
77 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator!= meant to not be accessible");
78 return true;
79}

◆ 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=()

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

Definition at line 62 of file G4StatMFMacroMultiNucleon.cc.

64{
65 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator= meant to not be accessible");
66 return *this;
67}

◆ operator==() [1/2]

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

Definition at line 69 of file G4StatMFMacroMultiNucleon.cc.

70{
71 throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator== meant to not be accessible");
72 return false;
73}

◆ 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: