10 #ifndef SRC_INCLUDE_MODUSDEFAULT_H_    11 #define SRC_INCLUDE_MODUSDEFAULT_H_    60                                  const OutputsList&  = {}) {
    87   double length()
 const { 
return -1.; }
   103       const Particles& particles, 
double min_cell_length,
   104       double timestep_duration,
   106     return {particles, min_cell_length, timestep_duration, strategy};
   115   std::unique_ptr<GrandCanThermalizer> create_grandcan_thermalizer(
   153     const std::array<double, 3> l = conf.
take({
"Lattice_Sizes"});
   154     const std::array<double, 3> origin = {-0.5 * l[0], -0.5 * l[1],
   156     const bool periodicity = 
false;
   157     return make_unique<GrandCanThermalizer>(conf, l, origin, periodicity);
   165     using std::invalid_argument::invalid_argument;
   173     using BadInput::BadInput;
   179 #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 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.