| Celeritas 0.7.0-dev.170+develop.df22d2a88
    | 
Result of a surface physics interaction. More...
#include <SurfaceInteraction.hh>
| Public Types | |
| enum class | Action { absorbed , reflected , refracted , transmitted } | 
| Interaction result category.  More... | |
| 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 () | 
| Construct a surface interaction for an optical photon absorbed on the surface. | |
| static CELER_FUNCTION SurfaceInteraction | from_transmission () | 
| Construct a surface interaction for an optical photon transmitted through the surface without change. | |
| Public Attributes | |
| Action | action {Action::absorbed} | 
| Flags for interaction result. | |
| Real3 | direction | 
| Real3 | polarization | 
Result of a surface physics interaction.
Interaction result category.
| Enumerator | |
|---|---|
| absorbed | Killed on the surface. | 
| reflected | Reflected into original material. | 
| refracted | Refracted into new material, with change. | 
| transmitted | Transmitted into new material without change. |