Celeritas 0.7.0-dev.127+develop.e63889793
|
Result of a surface physics interaction. More...
#include <SurfaceInteraction.hh>
Public Types | |
enum class | Action { absorbed , reflected , refracted } |
Interaction result category. | |
Public Member Functions | |
CELER_FUNCTION bool | is_valid () const |
Whether data is assigned and valid. | |
Static Public Member Functions | |
static CELER_FUNCTION SurfaceInteraction | from_absorption () |
Return an interaction representing an absorbed photon. | |
Public Attributes | |
Action | action {Action::absorbed} |
Flags for interaction result. | |
Real3 | direction |
Real3 | polarization |
Result of a surface physics interaction.
|
inlinestatic |
Return an interaction representing an absorbed photon.
Construct a surface interaction for an optical photon absorbed on the surface.