Celeritas 0.7.0-3+develop.835656ac1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::LevelStateAccessor Class Reference

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

#include <LevelStateAccessor.hh>

Public Types

using StateRef = NativeRef< OrangeStateData >
 
using LVolId = LocalVolumeId
 

Public Member Functions

 LevelStateAccessor (OrangeParamsScalars const &scalars, StateRef const *states, TrackSlotId tid, UnivLevelId ulev_id)
 Construct from states and indices.
 
LevelStateAccessor & operator= (LevelStateAccessor const &other)
 Copy data from another LSA.
 
 LevelStateAccessor (LevelStateAccessor const &)=default
 
 LevelStateAccessor (LevelStateAccessor &&)=default
 
LVolId & vol ()
 
Real3 & pos ()
 
Real3 & dir ()
 
UnivId & univ ()
 
LVolId const & vol () const
 
Real3 const & pos () const
 
Real3 const & dir () const
 
UnivId const & univ () const
 

Detailed Description

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

Member Typedef Documentation

◆ LVolId

Type aliases

◆ StateRef

Type aliases


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