Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
celeritas::optical::WavelengthShiftParams Class Referencefinal

Build and manage wavelength shift (WLS) data. More...

#include <WavelengthShiftParams.hh>

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

Classes

struct  Input
 Material-dependent WLS data, indexed by OpticalMaterialId. More...
 

Public Member Functions

 WavelengthShiftParams (Input const &input)
 Construct with wavelength shift (WLS) input data.
 
HostRef consthost_ref () const final
 Access WLS data on the host.
 
DeviceRef constdevice_ref () const final
 Access WLS data on the device.
 
- Public Member Functions inherited from celeritas::ParamsDataInterface< WavelengthShiftData >
WavelengthShiftData< Ownership::const_reference, M > const & ref () const
 
WavelengthShiftData< Ownership::const_reference, M > const & ref () const
 Dispatch a "ref" call to host or device data.
 

Static Public Member Functions

static std::shared_ptr< WavelengthShiftParamsfrom_import (ImportData const &data)
 Construct wavelength shift (WLS) data with imported data.
 

Additional Inherited Members

- Public Types inherited from celeritas::ParamsDataInterface< WavelengthShiftData >
using HostRef = HostCRef< WavelengthShiftData >
 
using DeviceRef = DeviceCRef< WavelengthShiftData >
 
- Protected Member Functions inherited from celeritas::ParamsDataInterface< WavelengthShiftData >
 CELER_DEFAULT_COPY_MOVE (ParamsDataInterface)
 

Detailed Description

Build and manage wavelength shift (WLS) data.

Member Function Documentation

◆ device_ref()

DeviceRef const & celeritas::optical::WavelengthShiftParams::device_ref ( ) const
inlinefinalvirtual

Access WLS data on the device.

Implements celeritas::ParamsDataInterface< WavelengthShiftData >.

◆ host_ref()

HostRef const & celeritas::optical::WavelengthShiftParams::host_ref ( ) const
inlinefinalvirtual

Access WLS data on the host.

Implements celeritas::ParamsDataInterface< WavelengthShiftData >.


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