Version: SMASH-1.8
forwarddeclarations.h File Reference

Go to the source code of this file.

Typedefs

typedef std::bitset< 10 > ReactionsBitSet
 Container for the 2 to 2 reactions in the code. More...
 

Enumerations

enum  CalculationFrame { CalculationFrame::CenterOfVelocity, CalculationFrame::CenterOfMass, CalculationFrame::FixedTarget }
 The calculation frame. More...
 
enum  FermiMotion { FermiMotion::Off, FermiMotion::On, FermiMotion::Frozen }
 Option to use Fermi Motion. More...
 
enum  Sampling { Sampling::Uniform, Sampling::Quadratic, Sampling::Custom }
 Possible methods of impact parameter sampling. More...
 
enum  TimeStepMode : char { TimeStepMode::None, TimeStepMode::Fixed }
 The time step mode. More...
 
enum  BoxInitialCondition { BoxInitialCondition::ThermalMomenta, BoxInitialCondition::PeakedMomenta }
 Initial condition for a particle in a box. More...
 
enum  SphereInitialCondition {
  SphereInitialCondition::ThermalMomenta, SphereInitialCondition::IC_ES, SphereInitialCondition::IC_1M, SphereInitialCondition::IC_2M,
  SphereInitialCondition::IC_Massive
}
 Initial condition for a particle in a sphere. More...
 
enum  ExpansionMode { ExpansionMode::NoExpansion, ExpansionMode::MasslessFRW, ExpansionMode::MassiveFRW, ExpansionMode::Exponential }
 Defines properties of expansion for the metric (e.g. More...
 
enum  NNbarTreatment { NNbarTreatment::NoAnnihilation, NNbarTreatment::Resonances, NNbarTreatment::Strings }
 Treatment of N Nbar Annihilation. More...
 
enum  ThermodynamicQuantity : char {
  ThermodynamicQuantity::EckartDensity, ThermodynamicQuantity::Tmn, ThermodynamicQuantity::TmnLandau, ThermodynamicQuantity::LandauVelocity,
  ThermodynamicQuantity::j_QBS
}
 Represents thermodynamic quantities that can be printed out. More...
 
enum  CollisionCriterion { CollisionCriterion::Geometric, CollisionCriterion::Stochastic }
 Criteria used to check collisions. More...
 
enum  OutputOnlyFinal { OutputOnlyFinal::Yes, OutputOnlyFinal::No, OutputOnlyFinal::IfNotEmpty }
 Whether and when only final state particles should be printed. More...
 
enum  IncludedReactions {
  All = 50, Elastic = 0, NN_to_NR = 1, NN_to_DR = 2,
  KN_to_KN = 3, KN_to_KDelta = 4, Strangeness_exchange = 5, NNbar = 6,
  PiDeuteron_to_NN = 7, PiDeuteron_to_pidprime = 8, NDeuteron_to_Ndprime = 9
}
 The different groups of 2 to 2 reactions that one can include. More...
 
enum  ThermalizationAlgorithm { ThermalizationAlgorithm::ModeSampling, ThermalizationAlgorithm::BiasedBF, ThermalizationAlgorithm::UnbiasedBF }
 Defines the algorithm used for the forced thermalization. More...
 

Typedef Documentation

◆ ReactionsBitSet

typedef std::bitset<10> ReactionsBitSet

Container for the 2 to 2 reactions in the code.

Definition at line 226 of file forwarddeclarations.h.

Enumeration Type Documentation

◆ CalculationFrame

enum CalculationFrame
strong

The calculation frame.

Enumerator
CenterOfVelocity 
CenterOfMass 
FixedTarget 

Definition at line 86 of file forwarddeclarations.h.

86  {
90 };

◆ FermiMotion

enum FermiMotion
strong

Option to use Fermi Motion.

Enumerator
Off 

Don't use fermi motion.

On 

Use fermi motion in combination with potentials.

Frozen 

Use fermi motion without potentials.

Definition at line 93 of file forwarddeclarations.h.

93  {
95  Off,
97  On,
99  Frozen,
100 };

◆ Sampling

enum Sampling
strong

Possible methods of impact parameter sampling.

Enumerator
Uniform 

Sample from uniform distribution.

Quadratic 

Sample from areal / quadratic distribution.

Custom 

Sample from custom, user-defined distribution.

Definition at line 103 of file forwarddeclarations.h.

103  {
105  Uniform,
107  Quadratic,
109  Custom,
110 };

◆ TimeStepMode

enum TimeStepMode : char
strong

The time step mode.

Enumerator
None 

Don't use time steps; propagate from action to action.

Fixed 

Use fixed time step.

Definition at line 113 of file forwarddeclarations.h.

113  : char {
115  None,
117  Fixed,
118 };

◆ BoxInitialCondition

enum BoxInitialCondition
strong

Initial condition for a particle in a box.

If PeakedMomenta is used, all particles have the same momentum \(p = 3 \cdot T\) with T being the temperature.

Else, a thermalized ensemble is generated (the momenta are sampled from a Maxwell-Boltzmann distribution).

In either case, the positions in space are chosen randomly.

Enumerator
ThermalMomenta 
PeakedMomenta 

Definition at line 131 of file forwarddeclarations.h.

131  {
134 };

◆ SphereInitialCondition

Initial condition for a particle in a sphere.

IC_ES, IC_1M and IC_2M are off-equilibrium distributions used in massless comparisons of SMASH to the extended universe metric. They are described in some detail in iref Bazow:2016oky [6]

IC_Massive is a generalization of IC_ES for the non-zero mass case; note that there is currently no analytical comparison possible with this distribution.

The default value, ThermalMomenta, samples momenta from a Maxwell-Boltzmann distribution and thus generates a thermal ensemble.

Enumerator
ThermalMomenta 
IC_ES 
IC_1M 
IC_2M 
IC_Massive 

Definition at line 149 of file forwarddeclarations.h.

149  {
151  IC_ES,
152  IC_1M,
153  IC_2M,
154  IC_Massive,
155 };

◆ ExpansionMode

enum ExpansionMode
strong

Defines properties of expansion for the metric (e.g.

FRW)

If anything else than NoExpansion is used, then a non-zero Hubble parameter is computed and corrections are brought to the propagation of all particles according to selected expanding metric.

Enumerator
NoExpansion 
MasslessFRW 
MassiveFRW 
Exponential 

Definition at line 165 of file forwarddeclarations.h.

165  {
166  NoExpansion,
167  MasslessFRW,
168  MassiveFRW,
169  Exponential,
170 };

◆ NNbarTreatment

enum NNbarTreatment
strong

Treatment of N Nbar Annihilation.

Enumerator
NoAnnihilation 

No Annihilation.

Resonances 

Use intermediate Resonances.

Strings 

Use string fragmentation.

Definition at line 173 of file forwarddeclarations.h.

173  {
177  Resonances,
179  Strings,
180 };

◆ ThermodynamicQuantity

enum ThermodynamicQuantity : char
strong

Represents thermodynamic quantities that can be printed out.

Enumerator
EckartDensity 
Tmn 
TmnLandau 
LandauVelocity 
j_QBS 

Definition at line 183 of file forwarddeclarations.h.

183  : char {
185  Tmn,
186  TmnLandau,
188  j_QBS
189 };

◆ CollisionCriterion

enum CollisionCriterion
strong

Criteria used to check collisions.

Enumerator
Geometric 

(Default) geometric criterion.

Stochastic 

Stochastic Criteiron.

Definition at line 192 of file forwarddeclarations.h.

192  {
194  Geometric,
196  Stochastic
197 };

◆ OutputOnlyFinal

enum OutputOnlyFinal
strong

Whether and when only final state particles should be printed.

Enumerator
Yes 

Print only final-state particles.

No 

Print initial, intermediate and final-state particles.

IfNotEmpty 

Print only final-state particles, and those only if the event is not empty.

Definition at line 200 of file forwarddeclarations.h.

200  {
202  Yes,
204  No,
207  IfNotEmpty,
208 };

◆ IncludedReactions

The different groups of 2 to 2 reactions that one can include.

Enumerator
All 
Elastic 
NN_to_NR 
NN_to_DR 
KN_to_KN 
KN_to_KDelta 
Strangeness_exchange 
NNbar 
PiDeuteron_to_NN 
PiDeuteron_to_pidprime 
NDeuteron_to_Ndprime 

Definition at line 211 of file forwarddeclarations.h.

211  {
212  All = 50,
213  Elastic = 0,
214  NN_to_NR = 1,
215  NN_to_DR = 2,
216  KN_to_KN = 3,
217  KN_to_KDelta = 4,
219  NNbar = 6,
220  PiDeuteron_to_NN = 7,
223 };

◆ ThermalizationAlgorithm

Defines the algorithm used for the forced thermalization.

For the description of algorithms see Oliinychenko:2016vkg [33]. All of them intend to conserve the net baryon number, strangeness and electric charge, as well as energy. Mode sampling is the fastest, but least theoretically robust, unbiased BF is the slowest (even hangs completely from time to time), but it is also the most theoretically robust.

Enumerator
ModeSampling 
BiasedBF 
UnbiasedBF 

Definition at line 237 of file forwarddeclarations.h.

237  {
238  ModeSampling,
239  BiasedBF,
240  UnbiasedBF,
241 };
SphereInitialCondition::IC_Massive
NN_to_DR
Definition: forwarddeclarations.h:215
ThermodynamicQuantity::TmnLandau
Sampling::Quadratic
Sample from areal / quadratic distribution.
CalculationFrame::CenterOfVelocity
ThermodynamicQuantity::LandauVelocity
SphereInitialCondition::IC_2M
NNbar
Definition: forwarddeclarations.h:219
ExpansionMode::NoExpansion
PiDeuteron_to_NN
Definition: forwarddeclarations.h:220
ExpansionMode::Exponential
NNbarTreatment::Strings
Use string fragmentation.
FermiMotion::Off
Don't use fermi motion.
Strangeness_exchange
Definition: forwarddeclarations.h:218
Elastic
Definition: forwarddeclarations.h:213
FermiMotion::Frozen
Use fermi motion without potentials.
Sampling::Custom
Sample from custom, user-defined distribution.
ThermalizationAlgorithm::UnbiasedBF
OutputOnlyFinal::IfNotEmpty
Print only final-state particles, and those only if the event is not empty.
OutputOnlyFinal::No
Print initial, intermediate and final-state particles.
CollisionCriterion::Stochastic
Stochastic Criteiron.
ThermodynamicQuantity::Tmn
SphereInitialCondition::IC_1M
ExpansionMode::MassiveFRW
All
Definition: forwarddeclarations.h:212
ExpansionMode::MasslessFRW
NDeuteron_to_Ndprime
Definition: forwarddeclarations.h:222
OutputOnlyFinal::Yes
Print only final-state particles.
CalculationFrame::FixedTarget
ThermodynamicQuantity::EckartDensity
ThermalizationAlgorithm::ModeSampling
SphereInitialCondition::IC_ES
KN_to_KN
Definition: forwarddeclarations.h:216
KN_to_KDelta
Definition: forwarddeclarations.h:217
ThermalizationAlgorithm::BiasedBF
NNbarTreatment::Resonances
Use intermediate Resonances.
BoxInitialCondition::ThermalMomenta
Sampling::Uniform
Sample from uniform distribution.
FermiMotion::On
Use fermi motion in combination with potentials.
BoxInitialCondition::PeakedMomenta
smash::DensityType::None
NN_to_NR
Definition: forwarddeclarations.h:214
ThermodynamicQuantity::j_QBS
NNbarTreatment::NoAnnihilation
No Annihilation.
CalculationFrame::CenterOfMass
PiDeuteron_to_pidprime
Definition: forwarddeclarations.h:221
CollisionCriterion::Geometric
(Default) geometric criterion.
TimeStepMode::Fixed
Use fixed time step.