Warning, file /include/Geant4/G4StatMFMicroCanonical.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #ifndef G4StatMFMicroCanonical_h
0032 #define G4StatMFMicroCanonical_h 1
0033
0034 #include <vector>
0035
0036 #include "G4VStatMFEnsemble.hh"
0037 #include "G4StatMFMicroPartition.hh"
0038 #include "G4StatMFMicroManager.hh"
0039 #include "G4StatMFParameters.hh"
0040 #include "G4StatMFChannel.hh"
0041
0042 #include "G4Fragment.hh"
0043 #include "Randomize.hh"
0044
0045
0046 class G4StatMFMicroCanonical : public G4VStatMFEnsemble {
0047
0048 public:
0049
0050
0051 G4StatMFMicroCanonical(const G4Fragment & theFragment);
0052
0053
0054 ~G4StatMFMicroCanonical();
0055
0056 private:
0057
0058 G4StatMFMicroCanonical() {};
0059
0060
0061
0062 G4StatMFMicroCanonical(const G4StatMFMicroCanonical &right);
0063
0064
0065
0066 G4StatMFMicroCanonical & operator=(const G4StatMFMicroCanonical & right);
0067 G4bool operator==(const G4StatMFMicroCanonical & right) const;
0068 G4bool operator!=(const G4StatMFMicroCanonical & right) const;
0069
0070
0071 public:
0072
0073
0074 G4StatMFChannel * ChooseAandZ(const G4Fragment & theFragment);
0075
0076 enum {MaxAllowedMultiplicity = 4};
0077
0078 private:
0079
0080
0081 void Initialize(const G4Fragment & theFragment);
0082
0083
0084 G4double CalcEntropyOfCompoundNucleus(const G4Fragment & theFragment, G4double & TConf);
0085
0086 G4double CalcFreeInternalEnergy(const G4Fragment & theFragment, G4double T);
0087
0088 G4double CalcInvLevelDensity(G4int anA);
0089
0090
0091
0092 private:
0093
0094
0095
0096
0097 std::vector<G4StatMFMicroManager*> _ThePartitionManagerVector;
0098
0099
0100 G4double _WCompoundNucleus;
0101
0102
0103 struct DeleteFragment
0104 {
0105 template<typename T>
0106 void operator()(const T* ptr) const
0107 {
0108 delete ptr;
0109 }
0110 };
0111
0112 };
0113
0114 #endif