Celeritas 0.7.0-dev.170+develop.df22d2a88
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
celeritas::optical::SurfaceInteraction Struct Reference

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
 

Detailed Description

Result of a surface physics interaction.

Member Enumeration Documentation

◆ Action

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.


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