10 #ifndef SRC_INCLUDE_MODUSDEFAULT_H_ 11 #define SRC_INCLUDE_MODUSDEFAULT_H_ 60 const OutputsList& = {}) {
87 double length()
const {
return -1.; }
101 const Particles& particles,
double min_cell_length,
103 return {particles, min_cell_length, strategy};
112 std::unique_ptr<GrandCanThermalizer> create_grandcan_thermalizer(
150 const std::array<double, 3> l = conf.
take({
"Lattice_Sizes"});
151 const std::array<double, 3> origin = {-0.5 * l[0], -0.5 * l[1],
153 const bool periodicity =
false;
154 return make_unique<GrandCanThermalizer>(conf, l, origin, periodicity);
162 using std::invalid_argument::invalid_argument;
170 using BadInput::BadInput;
176 #endif // SRC_INCLUDE_MODUSDEFAULT_H_ double impact_parameter() const
FermiMotion
Option to use Fermi Motion.
Thrown when the requested energy is smaller than the masses of two particles.
Grid< GridOptions::Normal > create_grid(const Particles &particles, double min_cell_length, CellSizeStrategy strategy=CellSizeStrategy::Optimal) const
Creates the Grid with normal boundary conditions.
bool cll_in_nucleus() const
Look for optimal cell size.
int impose_boundary_conditions(Particles *, const OutputsList &={})
Enforces sensible positions for the particles.
Interface to the SMASH configuration files.
int total_N_number() const
Base class for Modus classes that provides default function implementations.
Don't use fermi motion.
double velocity_target() const
FermiMotion fermi_motion() const
double velocity_projectile() const
CellSizeStrategy
Indentifies the strategy of determining the cell size.
Value take(std::initializer_list< const char *> keys)
The default interface for SMASH to read configuration values.
int proj_N_number() 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...
double max_timestep(double) const