Celeritas 0.7.0-dev.196+develop.8d0d9047c
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
celeritas::optical::CoreStateBase Class Reference

Manage the optical state counters and auxiliary data. More...

#include <CoreState.hh>

Inheritance diagram for celeritas::optical::CoreStateBase:
Inheritance graph
[legend]

Public Types

Type aliases
using SPAuxStateVec = std::shared_ptr< AuxStateVec >
 
- Public Types inherited from celeritas::optical::CoreStateInterface
using size_type = TrackSlotId::size_type
 
- Public Types inherited from celeritas::AuxStateInterface
using SPState = std::shared_ptr< AuxStateInterface >
 Default destructor.
 

Public Member Functions

CoreStateCounterscounters ()
 Track initialization counters.
 
CoreStateCounters constcounters () const final
 Track initialization counters.
 
OpticalAccumStats constaccum () const
 Optical loop statistics.
 
OpticalAccumStatsaccum ()
 Optical loop statistics.
 
SPAuxStateVec constaux () const
 Access auxiliary core state data.
 
SPAuxStateVec & aux ()
 Access auxiliary core state data (mutable)
 
- Public Member Functions inherited from celeritas::optical::CoreStateInterface
 ~CoreStateInterface () override
 Support polymorphic deletion, anchoring to avoid bugs.
 
virtual StreamId stream_id () const =0
 Thread/stream ID.
 
virtual void reseed (std::shared_ptr< RngParams const >, UniqueEventId)=0
 Reseed the RNGs at the start of an event for reproducibility.
 
virtual size_type size () const =0
 Number of track slots.
 
virtual void insert_primaries (Span< TrackInitializer const > host_primaries)=0
 
- Public Member Functions inherited from celeritas::AuxStateInterface
virtual ~AuxStateInterface ()
 Default destructor.
 

Protected Member Functions

 ~CoreStateBase () override
 Default destructor, anchoring to avoid bugs.
 
- Protected Member Functions inherited from celeritas::optical::CoreStateInterface
 CELER_DEFAULT_COPY_MOVE (CoreStateInterface)
 
- Protected Member Functions inherited from celeritas::AuxStateInterface
 AuxStateInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (AuxStateInterface)
 Default destructor.
 

Detailed Description

Manage the optical state counters and auxiliary data.

Member Function Documentation

◆ counters()

CoreStateCounters const & celeritas::optical::CoreStateBase::counters ( ) const
inlinefinalvirtual

Track initialization counters.

Implements celeritas::optical::CoreStateInterface.


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