 |
Version: SMASH-2.0
|
|
Go to the documentation of this file.
7 #ifndef SRC_INCLUDE_SMASH_BOXMODUS_H_
8 #define SRC_INCLUDE_SMASH_BOXMODUS_H_
91 const OutputsList &output_list = {});
95 const Particles &particles,
double min_cell_length,
96 double timestep_duration,
114 const std::array<double, 3> origin = {0., 0., 0.};
115 const bool periodicity =
true;
116 return make_unique<GrandCanThermalizer>(conf, lat_size, origin,
122 return 0.5 * std::sqrt(
length_ *
length_ - max_transverse_distance_sqr);
206 #endif // SRC_INCLUDE_SMASH_BOXMODUS_H_
std::unique_ptr< GrandCanThermalizer > create_grandcan_thermalizer(Configuration &conf) const
Creates GrandCanThermalizer.
const bool account_for_resonance_widths_
In case of thermal initialization: true – account for resonance spectral functions,...
Look for optimal cell size.
double equilibration_time() const
double max_timestep(double max_transverse_distance_sqr) const
const double muq_
Charge chemical potential for thermal initialization; only used if use_thermal_ is true.
const double mub_
Baryon chemical potential for thermal initialization; only used if use_thermal_ is true.
const std::map< PdgCode, int > init_multipl_
Particle multiplicities at initialization; required if use_thermal_ is false.
const double length_
Length of the cube's edge in fm/c.
const bool use_thermal_
Whether to use a thermal initialization for all particles instead of specific numbers.
const PdgCode jet_pdg_
Pdg of the particle to use as a jet; necessary if insert_jet_ is true, unused otherwise.
const double temperature_
Temperature of the Box in GeV.
const bool insert_jet_
Whether to insert a single high energy particle at the center of the box (0,0,0).
BoxInitialCondition
Initial condition for a particle in a box.
const BoxInitialCondition initial_condition_
Initial momenta distribution: thermal or peaked momenta.
Grid< GridOptions::PeriodicBoundaries > create_grid(const Particles &particles, double min_cell_length, double timestep_duration, CellSizeStrategy strategy=CellSizeStrategy::Optimal) const
Creates the Grid with normal boundary conditions.
CellSizeStrategy
Indentifies the strategy of determining the cell size.
const double mus_
Strange chemical potential for thermal initialization; only used if use_thermal_ is true.
Interface to the SMASH configuration files.
std::map< PdgCode, double > average_multipl_
Average multiplicities in case of thermal initialization.
double initial_conditions(Particles *particles, const ExperimentParameters ¶meters)
Generates initial state of the particles in the system according to specified parameters: number of p...
friend std::ostream & operator<<(std::ostream &out, const BoxModus &m)
BoxModus(Configuration modus_config, const ExperimentParameters ¶meters)
Constructor.
Helper structure for Experiment.
int impose_boundary_conditions(Particles *particles, const OutputsList &output_list={})
Enforces that all particles are inside the box at the beginning of an event.
const double equilibration_time_
time after which output is written
const double start_time_
Initial time of the box.
const double jet_mom_
Initial momentum of the jet particle; only used if insert_jet_ is true.