Version: SMASH-3.2.2
stringify.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright (c) 2025
4  * SMASH Team
5  *
6  * GNU General Public License (GPLv3 or later)
7  *
8  */
9 
10 #ifndef SRC_INCLUDE_SMASH_STRINGIFY_H_
11 #define SRC_INCLUDE_SMASH_STRINGIFY_H_
12 
13 #include <string>
14 #include <vector>
15 
16 #include "einhard.hpp"
17 
18 #include "forwarddeclarations.h"
19 
20 namespace smash {
21 
30 std::string to_string(ThermodynamicQuantity quantity);
31 
40 std::string to_string(CalculationFrame frame);
41 
50 std::string to_string(FermiMotion motion);
51 
60 std::string to_string(DensityType type);
61 
70 std::string to_string(ExpansionMode mode);
71 
80 std::string to_string(DerivativesMode mode);
81 
90 std::string to_string(FieldDerivativesMode mode);
91 
100 std::string to_string(SmearingMode mode);
101 
110 std::string to_string(TimeStepMode mode);
111 
120 std::string to_string(BoxInitialCondition cond);
121 
130 std::string to_string(SphereInitialCondition cond);
131 
140 std::string to_string(NNbarTreatment t);
141 
150 std::string to_string(Sampling s);
151 
160 std::string to_string(ThermalizationAlgorithm algo);
161 
170 std::string to_string(CollisionCriterion c);
171 
180 std::string to_string(TotalCrossSectionStrategy s);
181 
190 std::string to_string(PseudoResonance p);
191 
200 std::string to_string(FluidizationType f);
201 
210 std::string to_string(OutputOnlyFinal o);
211 
220 std::string to_string(einhard::LogLevel level);
221 
229 std::vector<std::string> to_string(const ReactionsBitSet &s);
230 
239 std::vector<std::string> to_string(const MultiParticleReactionsBitSet &s);
240 
249 std::vector<std::string> to_string(const FluidizableProcessesBitSet &s);
250 
251 } // namespace smash
252 
253 #endif // SRC_INCLUDE_SMASH_STRINGIFY_H_
This is the main include file for Einhard.
SmearingMode
Modes of smearing.
FermiMotion
Option to use Fermi Motion.
std::bitset< 10 > ReactionsBitSet
Container for the 2 to 2 reactions in the code.
ThermalizationAlgorithm
Defines the algorithm used for the forced thermalization.
FluidizationType
Possible methods to convert SMASH particle into fluid cells.
NNbarTreatment
Treatment of N Nbar Annihilation.
TimeStepMode
The time step mode.
ThermodynamicQuantity
Represents thermodynamic quantities that can be printed out See user guide description for more infor...
std::bitset< 5 > FluidizableProcessesBitSet
TotalCrossSectionStrategy
Determine how total cross sections for collision finding should be computed.
Sampling
Possible methods of impact parameter sampling.
std::bitset< 4 > MultiParticleReactionsBitSet
Container for the n to m reactions in the code.
CalculationFrame
The calculation frame.
DerivativesMode
Modes of calculating the gradients.
CollisionCriterion
Criteria used to check collisions.
FieldDerivativesMode
Modes of calculating the field gradients: chain rule or direct.
SphereInitialCondition
Initial condition for a particle in a sphere.
PseudoResonance
Which pseudo-resonance fills the inelastic gap in the transition to string region of cross sections.
DensityType
Allows to choose which kind of density to calculate.
OutputOnlyFinal
Whether and when only final state particles should be printed.
BoxInitialCondition
Initial condition for a particle in a box.
ExpansionMode
Defines properties of expansion for the metric (e.g.
LogLevel
Specification of the message severity.
Definition: einhard.hpp:109
constexpr int p
Proton.
Definition: action.h:24
std::string to_string(ThermodynamicQuantity quantity)
Convert a ThermodynamicQuantity enum value to its corresponding string.
Definition: stringify.cc:25