| Celeritas 0.7.0-dev.170+develop.df22d2a88
    | 
A collection of imported optical models. More...
#include <ImportedModelAdapter.hh>
| Public Types | |
| Type aliases | |
| using | IMC = ImportModelClass | 
| using | ImportedModelId = OpaqueId< ImportOpticalModel > | 
| Public Member Functions | |
| ImportedModels (std::vector< ImportOpticalModel > models) | |
| Construct directly from imported models. | |
| ImportOpticalModel const & | model (ImportedModelId mid) const | 
| Get model associated with the given identifier. | |
| ImportedModelId::size_type | num_models () const | 
| Get number of imported models. | |
| ImportedModelId | builtin_model_id (IMC imc) const | 
| Get imported model ID for the given built-in model class. | |
| Static Public Member Functions | |
| static std::shared_ptr< ImportedModels > | from_import (ImportData const &) | 
| Construct list of imported model from imported data. | |
A collection of imported optical models.
Constructs a map of built-in optical model classes to their imported model IDs.
Get imported model ID for the given built-in model class.
Returns a null ID if the imported model data is not present.