Celeritas 0.6.0-129+develop.846910afa
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::VecgeomParamsData< W, M > Struct Template Reference

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>
VecgeomParamsDataoperator= (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, ImplVolumeIdvolumes
 Map logical volume ID to canonical.
 
Collection< VolumeInstanceId, W, M, ImplVolInstanceIdvolume_instances
 Map placed volume ID to canonical.
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::VecgeomParamsData< W, M >

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.


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