| Celeritas 0.7.0-dev.172+develop.fe2a0acd4
    | 
Access geometry-to-material conversion. More...
#include <GeoMaterialView.hh>
| Public Types | |
| Type aliases | |
| using | GeoMaterialData = NativeCRef< GeoMaterialParamsData > | 
| Public Member Functions | |
| CELER_FUNCTION | GeoMaterialView (GeoMaterialData const ¶ms) | 
| Construct from shared data. | |
| CELER_FUNCTION 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.