10 #ifndef SRC_INCLUDE_MODUSDEFAULT_H_ 11 #define SRC_INCLUDE_MODUSDEFAULT_H_ 60 const OutputsList& = {}) {
89 double length()
const {
return -1.; }
116 const Particles& particles,
double min_cell_length,
117 double timestep_duration,
119 return {particles, min_cell_length, timestep_duration, strategy};
128 std::unique_ptr<GrandCanThermalizer> create_grandcan_thermalizer(
169 const std::array<double, 3> l = conf.
take({
"Lattice_Sizes"});
170 const std::array<double, 3> origin = {-0.5 * l[0], -0.5 * l[1],
172 const bool periodicity =
false;
173 return make_unique<GrandCanThermalizer>(conf, l, origin, periodicity);
181 using std::invalid_argument::invalid_argument;
189 using BadInput::BadInput;
195 #endif // SRC_INCLUDE_MODUSDEFAULT_H_
FermiMotion
Option to use Fermi Motion.
Thrown when the requested energy is smaller than the masses of two particles.
Look for optimal cell size.
int impose_boundary_conditions(Particles *, const OutputsList &={})
Enforces sensible positions for the particles.
Interface to the SMASH configuration files.
Base class for Modus classes that provides default function implementations.
bool cll_in_nucleus() const
int proj_N_number() const
Value take(std::initializer_list< const char * > keys)
The default interface for SMASH to read configuration values.
Don't use fermi motion.
double velocity_target() const
double nuclei_passing_time() const
Get the passing time of the two nuclei in a collision.
double impact_parameter() const
double max_timestep(double) const
CellSizeStrategy
Indentifies the strategy of determining the cell size.
double velocity_projectile() const
The Particles class abstracts the storage and manipulation of particles.
Abstracts a list of cells that partition the particles in the experiment into regions of space that c...
FermiMotion fermi_motion() const
int total_N_number() const
Grid< GridOptions::Normal > create_grid(const Particles &particles, double min_cell_length, double timestep_duration, CellSizeStrategy strategy=CellSizeStrategy::Optimal) const
Creates the Grid with normal boundary conditions.