Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
celeritas::optical::PhysicsParams Class Referencefinal
Inheritance diagram for celeritas::optical::PhysicsParams:
Inheritance graph
[legend]

Classes

struct  Input
 

Public Types

Type aliases
using SPConstModel = std::shared_ptr< Model const >
 
using SPConstMaterials = std::shared_ptr< MaterialParams const >
 
using VecModels = std::vector< SPConstModel >
 
using VecModelBuilders = std::vector< Model::ModelBuilder >
 
using ActionIdRange = Range< ActionId >
 
- Public Types inherited from celeritas::ParamsDataInterface< PhysicsParamsData >
using HostRef = HostCRef< PhysicsParamsData >
 
using DeviceRef = DeviceCRef< PhysicsParamsData >
 

Public Member Functions

 PhysicsParams (Input input)
 Construct from imported and shared data.
 
ModelId::size_type num_models () const
 Number of optical models.
 
SPConstModel model (ModelId mid) const
 Get an optical model associated with the given model identifier.
 
ActionIdRange model_actions () const
 Get the action identifierss for all optical models.
 
HostRef consthost_ref () const final
 Access optical physics data on the host.
 
DeviceRef constdevice_ref () const final
 Access optical physics data on the device.
 
- Public Member Functions inherited from celeritas::ParamsDataInterface< PhysicsParamsData >
PhysicsParamsData< Ownership::const_reference, M > const & ref () const
 
PhysicsParamsData< Ownership::const_reference, M > const & ref () const
 Dispatch a "ref" call to host or device data.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::ParamsDataInterface< PhysicsParamsData >
 CELER_DEFAULT_COPY_MOVE (ParamsDataInterface)
 

Constructor & Destructor Documentation

◆ PhysicsParams()

celeritas::optical::PhysicsParams::PhysicsParams ( Input  input)
explicit

Construct from imported and shared data.

The following models are first constructed:

  • "discrete-select": sample models by XS for discrete interactions

Optical models provided by the model builders input are then constructed and registered in the action registry. Finally, scalar data and MFP tables are constructed on the physics storage data.

Member Function Documentation

◆ device_ref()

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

Access optical physics data on the device.

Implements celeritas::ParamsDataInterface< PhysicsParamsData >.

◆ host_ref()

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

Access optical physics data on the host.

Implements celeritas::ParamsDataInterface< PhysicsParamsData >.


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