| Celeritas 0.7.0-dev.170+develop.df22d2a88
    | 
Calculate probability for each reflection mode from UNIFIED model grids. More...
#include <ReflectionFormSampler.hh>
| Public Types | |
| Type aliases | |
| using | DataRef = NativeCRef< UnifiedReflectionData > | 
| using | Energy = units::MevEnergy | 
| Public Member Functions | |
| CELER_FUNCTION | ReflectionModeSampler (DataRef const &, SubModelId, Energy) | 
| Construct from data, surface, and energy. | |
| CELER_FUNCTION real_type | operator() (ReflectionMode) const | 
| Calculate probability for the given reflection mode. | |
Calculate probability for each reflection mode from UNIFIED model grids.
| 
 | inline | 
Calculate probability for the given reflection mode.
Only the specular spike, specular lobe, and back-scattering probabilities are defined as grids in the data. The diffuse Lambertian mode is the remaining probability.