Celeritas 0.7+3f749ab
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::VolumeParamsData< W, M > Struct Template Reference

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>
VolumeParamsDataoperator= (VolumeParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Public Attributes

VolumeItems< VolumeRecordvolumes
 Per-volume records (material, parent/child ranges into vi_storage)
 
VolInstItems< VolumeIdvolume_ids
 Logical volume for each volume instance (vi -> v)
 
Items< VolumeInstanceIdvi_storage
 Flat backing storage for per-volume parent and child instance lists.
 
VolumeParamsScalars scalars
 

Detailed Description

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

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.


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