|
Celeritas 0.7.0-dev.196+develop.8d0d9047c
|
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.