Celeritas 0.6.0-rc.2.40+develop.df0b0c3b
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::LevelStateAccessor Class Reference

Accesss the 2D fields (i.e., {track slot, level}) of OrangeStateData. More...

#include <LevelStateAccessor.hh>

Public Types

using StateRef = NativeRef< OrangeStateData >
 

Public Member Functions

CELER_FUNCTION LevelStateAccessor (StateRef const *states, TrackSlotId tid, LevelId level_id)
 Construct from states and indices.
 
 LevelStateAccessor (LevelStateAccessor const &)=default
 
 LevelStateAccessor (LevelStateAccessor &&)=default
 
CELER_FUNCTION LevelStateAccessoroperator= (LevelStateAccessor const &other)
 Copy data from another LSA.
 
CELER_FUNCTION LocalVolumeIdvol ()
 
CELER_FUNCTION Real3pos ()
 
CELER_FUNCTION Real3dir ()
 
CELER_FUNCTION UniverseIduniverse ()
 
CELER_FUNCTION LocalVolumeId constvol () const
 
CELER_FUNCTION Real3 constpos () const
 
CELER_FUNCTION Real3 constdir () const
 
CELER_FUNCTION UniverseId constuniverse () const
 

Detailed Description

Accesss the 2D fields (i.e., {track slot, level}) of OrangeStateData.

Member Typedef Documentation

◆ StateRef

Type aliases


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