Celeritas 0.6.0-129+develop.846910afa
|
Persistent data used by VecGeom implementation. More...
#include <VecgeomData.hh>
Public Types | |
using | ImplVolInstanceId = VecgeomPlacedVolumeId |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the data is initialized. | |
template<Ownership W2, MemSpace M2> | |
VecgeomParamsData & | operator= (VecgeomParamsData< W2, M2 > &other) |
Assign from another set of data. | |
Public Attributes | |
VecgeomScalars | scalars |
Values that don't require host/device copying. | |
Collection< VolumeId, W, M, ImplVolumeId > | volumes |
Map logical volume ID to canonical. | |
Collection< VolumeInstanceId, W, M, ImplVolInstanceId > | volume_instances |
Map placed volume ID to canonical. | |
Persistent data used by VecGeom implementation.
The volumes and volume instance mappings are set when constructing from an external model, using VolumeParams to map to Geant4 geometry. For models loaded through VGDML, the mapping is currently one-to-one for implementation and placed volumes.