|
Celeritas 0.7-develop+980877a
|
Whether the track is undergoing a surface crossing and it matches the given step and model. More...
#include <TrackSlotExecutor.hh>
Public Member Functions | |
| bool | operator() (CoreTrackView const &track) const |
| Whether the surface model should be executed for the track. | |
Public Attributes | |
| SurfacePhysicsOrder | step |
| SurfaceModelId | model |
Whether the track is undergoing a surface crossing and it matches the given step and model.
After the interaction step, a track may be on a surface but exiting so it does not have a valid next surface model. The surface stepping action is instead used, since tracks exiting the surface will have the post-boundary action set instead.
For the interaction surface physics step, it should only be executed when the surface reflectivity action is set to interact.
Tracks absorbed on the surface are killed but keep the surface stepping action, so they must be excluded explicitly when the surface physics loop runs more than one iteration per step.