Celeritas 0.7.0-dev.279+develop.84922c50
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::GeoMaterialView Class Reference

Access geometry-to-material conversion. More...

#include <GeoMaterialView.hh>

Public Types

Type aliases
using GeoMaterialData = NativeCRef< GeoMaterialParamsData >
 

Public Member Functions

 GeoMaterialView (GeoMaterialData const &params)
 Construct from shared data.
 
PhysMatId material_id (ImplVolumeId volume) const
 Return material for the given volume.
 

Detailed Description

Access geometry-to-material conversion.

Member Function Documentation

◆ material_id()

PhysMatId celeritas::GeoMaterialView::material_id ( ImplVolumeId  volume) const
inline

Return material for the given volume.

Note that this will fail if the particle is outside – the volume ID will be false.


The documentation for this class was generated from the following file: