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

#include <G4StatMFMacroTemperature.hh>

Public Member Functions

 G4StatMFMacroTemperature ()
 ~G4StatMFMacroTemperature ()
void Initialise (const G4int anA, const G4int aZ, const G4double ExEnergy, const G4double FreeE0, const G4double kappa, std::vector< G4VStatMFMacroCluster * > *ClusterVector)
G4double Function (G4double T)
 G4StatMFMacroTemperature (const G4StatMFMacroTemperature &)=delete
G4StatMFMacroTemperatureoperator= (const G4StatMFMacroTemperature &right)=delete
G4bool operator== (const G4StatMFMacroTemperature &right) const =delete
G4bool operator!= (const G4StatMFMacroTemperature &right) const =delete
G4double GetMeanMultiplicity (void) const
G4double GetChemicalPotentialMu (void) const
G4double GetChemicalPotentialNu (void) const
G4double GetTemperature (void) const
G4double GetEntropy (void) const
G4double CalcTemperature (void)

Detailed Description

Definition at line 41 of file G4StatMFMacroTemperature.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroTemperature() [1/2]

G4StatMFMacroTemperature::G4StatMFMacroTemperature ( )

Definition at line 52 of file G4StatMFMacroTemperature.cc.

53{
54 fSolver = new G4FunctionSolver<G4StatMFMacroTemperature>(this, 100, 5.e-4);
55 fSolver->SetIntervalLimits(t1, t2);
56 theChemPot = new G4StatMFMacroChemicalPotential();
57}

Referenced by G4StatMFMacroTemperature(), operator!=(), operator=(), and operator==().

◆ ~G4StatMFMacroTemperature()

G4StatMFMacroTemperature::~G4StatMFMacroTemperature ( )

Definition at line 59 of file G4StatMFMacroTemperature.cc.

60{
61 delete fSolver;
62 delete theChemPot;
63}

◆ G4StatMFMacroTemperature() [2/2]

G4StatMFMacroTemperature::G4StatMFMacroTemperature ( const G4StatMFMacroTemperature & )
delete

Member Function Documentation

◆ CalcTemperature()

G4double G4StatMFMacroTemperature::CalcTemperature ( void )

Definition at line 79 of file G4StatMFMacroTemperature.cc.

80{
81 fMeanTemperature = std::max(std::min(std::sqrt(fExEnergy/(theA*0.12)), t2), t1);
82 fSolver->FindRoot(fMeanTemperature);
83 return fMeanTemperature;
84}

◆ Function()

G4double G4StatMFMacroTemperature::Function ( G4double T)
inline

Definition at line 54 of file G4StatMFMacroTemperature.hh.

55 { return (fExEnergy - FragsExcitEnergy(T)); }

◆ GetChemicalPotentialMu()

G4double G4StatMFMacroTemperature::GetChemicalPotentialMu ( void ) const
inline

Definition at line 66 of file G4StatMFMacroTemperature.hh.

66{return fChemPotentialMu;}

◆ GetChemicalPotentialNu()

G4double G4StatMFMacroTemperature::GetChemicalPotentialNu ( void ) const
inline

Definition at line 68 of file G4StatMFMacroTemperature.hh.

68{return fChemPotentialNu;}

◆ GetEntropy()

G4double G4StatMFMacroTemperature::GetEntropy ( void ) const
inline

Definition at line 72 of file G4StatMFMacroTemperature.hh.

72{return fMeanEntropy;}

◆ GetMeanMultiplicity()

G4double G4StatMFMacroTemperature::GetMeanMultiplicity ( void ) const
inline

Definition at line 64 of file G4StatMFMacroTemperature.hh.

64{return fMeanMultiplicity;}

◆ GetTemperature()

G4double G4StatMFMacroTemperature::GetTemperature ( void ) const
inline

Definition at line 70 of file G4StatMFMacroTemperature.hh.

70{return fMeanTemperature;}

◆ Initialise()

void G4StatMFMacroTemperature::Initialise ( const G4int anA,
const G4int aZ,
const G4double ExEnergy,
const G4double FreeE0,
const G4double kappa,
std::vector< G4VStatMFMacroCluster * > * ClusterVector )

Definition at line 65 of file G4StatMFMacroTemperature.cc.

70{
71 theA = anA;
72 theZ = aZ;
73 fExEnergy = ExEnergy;
74 fFreeInternalE0 = FreeE0;
75 fKappa = kappa;
76 fClusters = v;
77}

◆ operator!=()

G4bool G4StatMFMacroTemperature::operator!= ( const G4StatMFMacroTemperature & right) const
delete

◆ operator=()

G4StatMFMacroTemperature & G4StatMFMacroTemperature::operator= ( const G4StatMFMacroTemperature & right)
delete

◆ operator==()

G4bool G4StatMFMacroTemperature::operator== ( const G4StatMFMacroTemperature & right) const
delete

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