Celeritas
0.5.0-56+6b053cd
|
Manage imported physics data. More...
#include <ImportedProcessAdapter.hh>
Public Types | |
Type aliases | |
using | ImportProcessId = OpaqueId< ImportProcess > |
using | key_type = std::pair< PDGNumber, ImportProcessClass > |
using | SPConstParticles = std::shared_ptr< ParticleParams const > |
Public Member Functions | |
ImportedProcesses (std::vector< ImportProcess > io) | |
Construct with imported tabular data. | |
ImportProcessId | find (key_type) const |
Return physics tables for a particle type and process. More... | |
ImportProcess const & | get (ImportProcessId id) const |
Get the table for the given process ID. | |
ImportProcessId::size_type | size () const |
Number of imported processes. | |
Static Public Member Functions | |
static std::shared_ptr< ImportedProcesses > | from_import (ImportData const &data, SPConstParticles particle_params) |
Construct with imported data. | |
Manage imported physics data.
auto celeritas::ImportedProcesses::find | ( | key_type | particle_process | ) | const |
Return physics tables for a particle type and process.
Returns 'invalid' ID if process is not present for the given particle type.