Celeritas 0.7.0-33+develop.9c828abdd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::optical::WlsGeneratorStateBase Struct Referenceabstract

Optical WLS generation state. More...

#include <WavelengthShiftData.hh>

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

Public Member Functions

virtual void reset (StreamId)=0
 
- Public Member Functions inherited from celeritas::GeneratorStateBase
virtual void sync_counters ()
 Update the host counters from the counters in the state's memory.
 
virtual void clear_generated ()
 Clear the generated count at the start of a transport loop.
 
virtual void reset_counters ()
 Discard the current counters after the loop aborted early.
 
- Public Member Functions inherited from celeritas::AuxStateInterface
virtual ~AuxStateInterface ()
 Default destructor.
 

Public Attributes

size_type size {}
 Number of track slots (or, possible new distributions created per step)
 
- Public Attributes inherited from celeritas::GeneratorStateBase
GeneratorCounters< size_type > counters
 Counts since the start of the optical loop (host copy)
 
GeneratorCounters< std::size_t > accum
 Counts accumulated over the event for diagnostics.
 

Additional Inherited Members

- Public Types inherited from celeritas::AuxStateInterface
using SPState = std::shared_ptr< AuxStateInterface >
 Default destructor.
 
- Protected Member Functions inherited from celeritas::AuxStateInterface
 AuxStateInterface ()=default
 
 AuxStateInterface (AuxStateInterface const &)=default
 Default destructor.
 
AuxStateInterface & operator= (AuxStateInterface const &)=default
 Default destructor.
 
 AuxStateInterface (AuxStateInterface &&)=default
 Default destructor.
 
AuxStateInterface & operator= (AuxStateInterface &&)=default
 Default destructor.
 

Detailed Description

Optical WLS generation state.

Member Function Documentation

◆ reset()

virtual void celeritas::optical::WlsGeneratorStateBase::reset ( StreamId  )
pure virtual

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