Celeritas 0.6.0-110+develop.c7dc37d1
Loading...
Searching...
No Matches
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, Msurfaces
 
Collection< size_type, W, Mvolumes
 

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.

Todo:

These should be indexed into by UniverseId, not the default OpaqueId<size_type>.

move to detail/UniverseIndexerData


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