Celeritas 0.7.0-dev.357+develop.af7cbb9
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

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.

For the interaction surface physics step, it should only be executed when the surface reflectivity action is set to interact.


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