Celeritas 0.7.0-dev.127+develop.e63889793
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::optical::IsSurfaceModelEqual Struct Reference

Whether the track is undergoing a surface crossing and it matches the given step and model. More...

#include <TrackSlotExecutor.hh>

Public Member Functions

CELER_FUNCTION bool operator() (CoreTrackView const &track) const
 Whether the surface model should be executed for the track.
 

Public Attributes

SurfacePhysicsOrder step
 
SurfaceModelId model
 

Detailed Description

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.


The documentation for this struct was generated from the following file: