Celeritas 0.6.0-67+develop.47f47c88
|
Persistent data for mapping between volumes and their surfaces. More...
#include <SurfaceData.hh>
Public Types | |
template<class T > | |
using | VolumeItems = Collection< T, W, M, VolumeId > |
template<class T > | |
using | Items = Collection< T, W, M > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
True if surfaces are present. | |
template<Ownership W2, MemSpace M2> | |
SurfaceParamsData & | operator= (SurfaceParamsData< W2, M2 > const &other) |
Assign from another set of data. | |
Public Attributes | |
SurfaceId::size_type | num_surfaces {0} |
Number of surfaces. | |
VolumeItems< VolumeSurfaceRecord > | volume_surfaces |
Surface properties for logical volumes. | |
Items< VolumeInstanceId > | volume_instance_ids |
Backend storage for PV->PV mapping. | |
Items< SurfaceId > | surface_ids |
Backend storage for surface interfaces. | |
Persistent data for mapping between volumes and their surfaces.
This structure stores device-compatible data relating volumes and their surfaces, primarily for optical physics at material interfaces.
If no "interface" surfaces are present then the backend storage arrays will be empty.