|
Celeritas 0.7.0-dev.170+develop.df22d2a88
|
Helper class to fill a volume collection from a map. More...
#include <VolumeCollectionBuilder.hh>
Public Types | |
| using | mapped_type = typename T::mapped_type |
Public Member Functions | |
| VolumeMapFiller (T const &m) | |
| Construct with map to use. | |
| mapped_type | operator() (VolumeId vol_id) const |
| Get the value from a volume ID or default if not in the map. | |
Helper class to fill a volume collection from a map.
Example: