7 #ifndef SRC_INCLUDE_BOXMODUS_H_ 8 #define SRC_INCLUDE_BOXMODUS_H_ 87 const OutputsList &output_list = {});
91 const Particles &particles,
double min_cell_length,
92 double timestep_duration,
109 const std::array<double, 3> lat_size = {
length_,
length_, length_};
110 const std::array<double, 3> origin = {0., 0., 0.};
111 const bool periodicity =
true;
112 return make_unique<GrandCanThermalizer>(conf, lat_size, origin,
118 return 0.5 * std::sqrt(
length_ *
length_ - max_transverse_distance_sqr);
172 #endif // SRC_INCLUDE_BOXMODUS_H_ const double start_time_
Initial time of the box.
const double length_
Length of the cube's edge in fm/c.
const std::map< PdgCode, int > init_multipl_
Particle multiplicities at initialization; required if use_thermal_ is false.
const bool use_thermal_
Whether to use a thermal initialization for all particles instead of specific numbers.
const double temperature_
Temperature of the Box in GeV.
std::unique_ptr< GrandCanThermalizer > create_grandcan_thermalizer(Configuration &conf) const
Creates GrandCanThermalizer.
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.
Look for optimal cell size.
double max_timestep(double max_transverse_distance_sqr) const
const double mus_
Strange chemical potential for thermal initialization; only used if use_thermal_ is true...
Interface to the SMASH configuration files.
Base class for Modus classes that provides default function implementations.
friend std::ostream & operator<<(std::ostream &out, const BoxModus &m)
Console output on startup of box specific parameters; writes the initial state for the box to the out...
std::map< PdgCode, double > average_multipl_
Average multiplicities in case of thermal initialization.
BoxModus: Provides a modus for infinite matter calculations.
BoxModus(Configuration modus_config, const ExperimentParameters ¶meters)
Constructor.
double initial_conditions(Particles *particles, const ExperimentParameters ¶meters)
Generates initial state of the particles in the system according to specified parameters: number of p...
CellSizeStrategy
Indentifies the strategy of determining the cell size.
The Particles class abstracts the storage and manipulation of particles.
Helper structure for Experiment.
int impose_boundary_conditions(Particles *particles, const OutputsList &output_list={})
Enforces that all particles are inside the box.
const double mub_
Baryon chemical potential for thermal initialization; only used if use_thermal_ is true...