Version: SMASH-3.1
experimentparameters.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2023
3  * SMASH Team
4  *
5  * GNU General Public License (GPLv3 or later)
6  */
7 #ifndef SRC_INCLUDE_SMASH_EXPERIMENTPARAMETERS_H_
8 #define SRC_INCLUDE_SMASH_EXPERIMENTPARAMETERS_H_
9 
10 #include <memory>
11 #include <optional>
12 #include <set>
13 
14 #include "clock.h"
15 
16 namespace smash {
17 
27  std::unique_ptr<Clock> labclock;
28 
30  std::unique_ptr<Clock> outputclock;
31 
34 
37 
44 
47 
50 
53 
56 
60 
63 
65  bool two_to_one;
66 
69 
72 
75 
83 
90 
95  double low_snn_cut;
96 
102 
106  double box_length;
107 
119  double maximum_cross_section; // mb
120 
133  double fixed_min_cell_length; // fm
134 
141  double scale_xs;
142 
147 
150 
155 
161  std::optional<bool> use_monash_tune_default;
162 };
163 
164 } // namespace smash
165 
166 #endif // SRC_INCLUDE_SMASH_EXPERIMENTPARAMETERS_H_
SmearingMode
Modes of smearing.
std::bitset< 10 > ReactionsBitSet
Container for the 2 to 2 reactions in the code.
NNbarTreatment
Treatment of N Nbar Annihilation.
RestFrameDensityDerivativesMode
Modes of calculating the gradients: whether to calculate the rest frame density derivatives.
std::bitset< 4 > MultiParticleReactionsBitSet
Container for the n to m reactions in the code.
DerivativesMode
Modes of calculating the gradients.
CollisionCriterion
Criteria used to check collisions.
FieldDerivativesMode
Modes of calculating the field gradients: chain rule or direct.
Definition: action.h:24
Helper structure for Experiment.
double fixed_min_cell_length
Fixed minimal grid cell length (in fm).
const SmearingMode smearing_mode
mode of smearing for density calculation
std::optional< bool > use_monash_tune_default
Bool for the default usage of the monash tune in the collider modus.
const CollisionCriterion coll_crit
Employed collision criterion.
NNbarTreatment nnbar_treatment
This indicates how NNĚ… annihilation should be treated; options are to neglect it, make it conserve de...
double box_length
Length of the box in fm in case of box modus, otherwise -1.
bool only_participants
In thermodynamics outputs, it decides whether to use only participants (true) or also spectators (fal...
double discrete_weight
Weight applied to the center cell in the discrete smearing.
bool potential_affect_threshold
This indicates whether the mean field potentials affect the scattering or decaying processes by shift...
DerivativesMode derivatives_mode
mode of calculating gradients for density calculation
int n_ensembles
Number of parallel ensembles.
RestFrameDensityDerivativesMode rho_derivatives_mode
mode of calculating rest frame density gradients (on or off)
double maximum_cross_section
The maximal cross section (in mb) for which it is guaranteed that all collisions with this cross sect...
bool strings_switch
This indicates whether string fragmentation is switched on.
const ReactionsBitSet included_2to2
This indicates which two to two reactions are switched off.
FieldDerivativesMode field_derivatives_mode
mode of calculating field derivatives
double scale_xs
Global factor which all cross sections are scaled with.
std::unique_ptr< Clock > outputclock
Output clock to keep track of the next output time.
bool two_to_one
This indicates whether string fragmentation is switched on.
int testparticles
Number of test-particles.
double triangular_range
Range of lattice nodes, in units of lattice spacing, that the triangular smearing uses.
double res_lifetime_factor
Multiplicative factor to be applied to resonance lifetimes; in the case of thermal multiplicities thi...
double low_snn_cut
Elastic collisions between the nucleons with the square root s below low_snn_cut are excluded.
double gaussian_sigma
Width of gaussian Wigner density of particles.
bool do_weak_decays
Do weak decays at the end.
const MultiParticleReactionsBitSet included_multi
This indicates which multi-particle reactions are switched on.
bool decay_initial_particles
Whether to decay initial state particles.
double gauss_cutoff_in_sigma
Distance at which gaussian is cut, i.e. set to zero, IN SIGMA (not fm)
std::unique_ptr< Clock > labclock
System clock (for simulation time keeping in the computational frame)