Celeritas
0.5.0-56+6b053cd
|
#include "ImportModel.hh"
#include "corecel/io/EnumStringMapper.hh"
#include "corecel/io/StringEnumMapper.hh"
Functions | |
char const * | celeritas::to_cstring (ImportModelClass value) |
Enumerator for the available physics models. More... | |
char const * | celeritas::to_geant_name (ImportModelClass value) |
Get the default Geant4 process name for an ImportProcessClass. | |
ImportModelClass | celeritas::geant_name_to_import_model_class (std::string_view s) |
Convert a Geant4 process name to an IPC. More... | |
ImportModelClass celeritas::geant_name_to_import_model_class | ( | std::string_view | s | ) |
Convert a Geant4 process name to an IPC.
This will throw a celeritas::RuntimeError
if the string is not known to us.
char const * celeritas::to_cstring | ( | ImportModelClass | value | ) |
Enumerator for the available physics models.
This enum was created to safely access the many imported physics tables.