|
Celeritas 0.7+3f749ab
|
Persistent data for the volume hierarchy graph. More...
#include <VolumeData.hh>
Public Types | |
| template<class T > | |
| using | VolumeItems = Collection< T, W, M, VolumeId > |
| template<class T > | |
| using | VolInstItems = Collection< T, W, M, VolumeInstanceId > |
| template<class T > | |
| using | Items = Collection< T, W, M > |
Public Member Functions | |
| operator bool () const | |
| True if data is consistent (empty and fully-populated states are valid) | |
| template<Ownership W2, MemSpace M2> | |
| VolumeParamsData & | operator= (VolumeParamsData< W2, M2 > const &other) |
| Assign from another set of data. | |
Public Attributes | |
| VolumeItems< VolumeRecord > | volumes |
| Per-volume records (material, parent/child ranges into vi_storage) | |
| VolInstItems< VolumeId > | volume_ids |
| Logical volume for each volume instance (vi -> v) | |
| Items< VolumeInstanceId > | vi_storage |
| Flat backing storage for per-volume parent and child instance lists. | |
| VolumeParamsScalars | scalars |
Persistent data for the volume hierarchy graph.
This stores the volume DAG (directed acyclic graph) in Collection-based storage for host and device compatibility. Volumes are nodes and volume instances are edges.
See VolumeParams for construction details and label-based lookup.