|
Celeritas 0.7.0-dev.279+develop.84922c50
|
Access geometry-to-material conversion. More...
#include <GeoMaterialView.hh>
Public Types | |
Type aliases | |
| using | GeoMaterialData = NativeCRef< GeoMaterialParamsData > |
Public Member Functions | |
| GeoMaterialView (GeoMaterialData const ¶ms) | |
| Construct from shared data. | |
| PhysMatId | material_id (ImplVolumeId volume) const |
| Return material for the given volume. | |
Access geometry-to-material conversion.
|
inline |
Return material for the given volume.
Note that this will fail if the particle is outside – the volume ID will be false.