|
Celeritas 0.7+d312559
|
Set up and launch the optical Rayleigh scattering model interaction. More...
#include <RayleighModel.hh>

Public Types | |
Type aliases | |
| using | SPConstMaterials = std::shared_ptr< MaterialParams const > |
| using | SPConstCoreMaterials = std::shared_ptr<::celeritas::MaterialParams const > |
Public Types inherited from celeritas::ActionTypeTraits< P, S > | |
| using | CoreParams = P |
| using | CoreStateHost = S< MemSpace::host > |
| using | CoreStateDevice = S< MemSpace::device > |
| using | SpanCoreStateHost = Span< S< MemSpace::host > *const > |
| using | SpanCoreStateDevice = Span< S< MemSpace::device > *const > |
Public Member Functions | |
| RayleighModel (ActionId, inp::OpticalBulkRayleigh, SPConstMaterials const &, SPConstCoreMaterials const &) | |
| Construct the model from imported data and imported material parameters. | |
| void | build_mfps (OptMatId, MfpBuilder &) const final |
| Build the mean free paths for the model. | |
| void | step (CoreParams const &, CoreStateHost &) const final |
| Execute the model on the host. | |
| void | step (CoreParams const &, CoreStateDevice &) const final |
| Execute the model on the device. | |
Public Member Functions inherited from celeritas::optical::Model | |
| StepActionOrder | order () const override |
| Action order for optical models is always post-step. | |
| ConcreteAction (ActionId id, std::string label) noexcept(! 0) | |
| Construct a concrete action from a label and ID. | |
| ConcreteAction (ActionId id, std::string label, std::string description) noexcept(! 0) | |
| Construct a concrete action from an ID, a unique label, and a description. | |
| ConcreteAction (ConcreteAction const &)=delete | |
| ConcreteAction (ConcreteAction &&)=delete | |
Public Member Functions inherited from celeritas::StepActionInterface< P, S > | |
| virtual void | step (P const &, S< MemSpace::host > &) const =0 |
| Execute the action with host data. | |
| virtual void | step (P const &, S< MemSpace::device > &) const =0 |
| Execute the action with device data. | |
Public Member Functions inherited from celeritas::ActionInterface | |
| virtual | ~ActionInterface () noexcept=0 |
| Default destructor. | |
Public Member Functions inherited from celeritas::ConcreteAction | |
| ConcreteAction (ActionId id, std::string label) noexcept(! 0) | |
| Construct a concrete action from a label and ID. | |
| ConcreteAction (ActionId id, std::string label, std::string description) noexcept(! 0) | |
| Construct a concrete action from an ID, a unique label, and a description. | |
| ~ConcreteAction () noexcept override | |
| Default destructor. | |
| ConcreteAction (ConcreteAction const &)=delete | |
| ConcreteAction & | operator= (ConcreteAction const &)=delete |
| ConcreteAction (ConcreteAction &&)=delete | |
| ConcreteAction & | operator= (ConcreteAction &&)=delete |
| ActionId | action_id () const final |
| ID of this action for verification. | |
| std::string_view | label () const final |
| Short label. | |
| std::string_view | description () const final |
| Descriptive label. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ActionInterface | |
| ActionInterface (ActionInterface const &)=default | |
| ActionInterface & | operator= (ActionInterface const &)=default |
| ActionInterface (ActionInterface &&)=default | |
| ActionInterface & | operator= (ActionInterface &&)=default |
Set up and launch the optical Rayleigh scattering model interaction.
| celeritas::optical::RayleighModel::RayleighModel | ( | ActionId | id, |
| inp::OpticalBulkRayleigh | input, | ||
| SPConstMaterials const & | materials, | ||
| SPConstCoreMaterials const & | core_materials | ||
| ) |
Construct the model from imported data and imported material parameters.
Uses RayleighMfpCalculator to calculate missing imported MFPs from material parameters, if available.
|
finalvirtual |
Build the mean free paths for the model.
Implements celeritas::optical::Model.
|
final |
Execute the model on the device.
Interact with device data.