Classes | |
struct | OutputDirectoryExists |
Exception class that is thrown, if the requested output directory already exists and -f was not specified on the command line. More... | |
struct | OutputDirectoryOutOfIds |
Exception class that is thrown, if no new output path can be generated (there is a directory name for each positive integer value) More... | |
Functions | |
void | print_disclaimer () |
Print the disclaimer. More... | |
bf::path | default_output_path () |
void | ensure_path_is_valid (const bf::path &path) |
Ensures the output path is valid. More... | |
ScatterActionsFinder | actions_finder_for_dump (Configuration configuration) |
Prepares ActionsFinder for cross-section and reaction dumps. More... | |
void | check_config_version_is_compatible (Configuration configuration) |
Checks if the SMASH version is compatible with the version of the configuration file. More... | |
void | check_for_unused_config_values (const Configuration &configuration) |
Checks if there are unused config values. More... | |
void | ignore_simulation_config_values (Configuration &configuration) |
Remove all config values that are only needed for simulations. More... | |
void smash::anonymous_namespace{smash.cc}::print_disclaimer | ( | ) |
bf::path smash::anonymous_namespace{smash.cc}::default_output_path | ( | ) |
void smash::anonymous_namespace{smash.cc}::ensure_path_is_valid | ( | const bf::path & | path | ) |
Ensures the output path is valid.
OutputDirectoryExists | if the Output directory already exists. |
[in] | path | The output path to be written to |
Definition at line 267 of file smash.cc.
ScatterActionsFinder smash::anonymous_namespace{smash.cc}::actions_finder_for_dump | ( | Configuration | configuration | ) |
Prepares ActionsFinder for cross-section and reaction dumps.
[in] | configuration | Necessary parameters to switch reactions on/off |
Definition at line 289 of file smash.cc.
void smash::anonymous_namespace{smash.cc}::check_config_version_is_compatible | ( | Configuration | configuration | ) |
Checks if the SMASH version is compatible with the version of the configuration file.
[in] | configuration | The configuration object |
Runtime | error if versions do not match or if config version is invalid |
Definition at line 309 of file smash.cc.
void smash::anonymous_namespace{smash.cc}::check_for_unused_config_values | ( | const Configuration & | configuration | ) |
Checks if there are unused config values.
Definition at line 333 of file smash.cc.
void smash::anonymous_namespace{smash.cc}::ignore_simulation_config_values | ( | Configuration & | configuration | ) |
Remove all config values that are only needed for simulations.
This is useful when checking for unused config value when SMASH only outputs cross sections, resonance properties or possible reactions.
Definition at line 348 of file smash.cc.