Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Public Attributes | List of all members
celeritas::UniverseIndexerData< W, M > Struct Template Reference

Surface and volume offsets to convert between local and global indices. More...

#include <OrangeData.hh>

Public Member Functions

template<Ownership W2, MemSpace M2>
UniverseIndexerDataoperator= (UniverseIndexerData< W2, M2 > const &other)
 
CELER_FUNCTION operator bool () const
 

Public Attributes

Collection< size_type, W, M > surfaces
 
Collection< size_type, W, M > volumes
 

Detailed Description

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

Surface and volume offsets to convert between local and global indices.

Each collection should be of length num_universes + 1. The first entry is zero and the last item should be the total number of surfaces or volumes.


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