Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
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 > |
![]() | |
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 const & | host_ref () const final |
Access optical physics data on the host. | |
DeviceRef const & | device_ref () const final |
Access optical physics data on the device. | |
![]() | |
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 | |
![]() | |
CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
|
explicit |
Construct from imported and shared data.
The following models are first constructed:
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.
|
inlinefinalvirtual |
Access optical physics data on the device.
Implements celeritas::ParamsDataInterface< PhysicsParamsData >.
|
inlinefinalvirtual |
Access optical physics data on the host.
Implements celeritas::ParamsDataInterface< PhysicsParamsData >.