|
Celeritas 0.7.0-dev.196+develop.8d0d9047c
|
Trivial interaction model for optical surface physics. More...
#include <TrivialInteractionModel.hh>

Public Types | |
Type aliases | |
| using | InputT = TrivialInteractionMode |
Public Types inherited from celeritas::optical::SurfaceModel | |
| using | CoreStateHost = CoreState< MemSpace::host > |
| using | CoreStateDevice = CoreState< MemSpace::device > |
Public Types inherited from celeritas::SurfaceModel | |
| using | VecSurfaceLayer = std::vector< PhysSurfaceId > |
| Vector of surfaces. | |
Public Member Functions | |
| TrivialInteractionModel (SurfaceModelId, std::map< PhysSurfaceId, InputT > const &) | |
| Construct the model from an ID and layer map. | |
| VecSurfaceLayer const & | get_surfaces () const final |
| Get the list of physical surfaces this model applies to. | |
| void | step (CoreParams const &, CoreStateHost &) const final |
| Execute model with host data. | |
| void | step (CoreParams const &, CoreStateDevice &) const final |
| Execute the model with host data. | |
Public Member Functions inherited from celeritas::SurfaceModel | |
| virtual | ~SurfaceModel ()=0 |
| Anchored default destructor. | |
| SurfaceModelId | surface_model_id () const |
| Opaque ID of this surface model. | |
| std::string_view | label () const |
| Short descriptive name of this model. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::SurfaceModel | |
| SurfaceModel (SurfaceModelId, std::string_view) | |
| Construct with label and model ID. | |
| CELER_DEFAULT_COPY_MOVE (SurfaceModel) | |
Trivial interaction model for optical surface physics.
Calls precisely one interactor with no random sampling for a given surface. Mainly useful for testing and very simple simulations.
| celeritas::optical::TrivialInteractionModel::TrivialInteractionModel | ( | SurfaceModelId | id, |
| std::map< PhysSurfaceId, InputT > const & | layer_map | ||
| ) |
Construct the model from an ID and layer map.
Construct the model from an ID and a layer map.
|
inlinefinalvirtual |
Get the list of physical surfaces this model applies to.
Implements celeritas::SurfaceModel.
|
finalvirtual |
Execute the model with host data.
Implements celeritas::optical::SurfaceModel.
|
finalvirtual |
Execute model with host data.
Launch kernel with device data.
Execute model with device data.
Implements celeritas::optical::SurfaceModel.