Celeritas 0.7.0-dev.127+develop.e63889793
|
Sample optical Mie scattering using the Henyey–Greenstein distribution. More...
#include <MieInteractor.hh>
Public Member Functions | |
CELER_FUNCTION | MieInteractor (NativeCRef< MieData > const &shared, ParticleTrackView const &particle, Real3 const &direction, OptMatId const &mat_id) |
Construct with shared and state data. | |
template<class Engine > | |
CELER_FUNCTION Interaction | operator() (Engine &rng) const |
Sample a single optical Mie scattering event. | |
Sample optical Mie scattering using the Henyey–Greenstein distribution.
\[ P(\cos\theta) \propto \frac{1 - g^2}{(1 + g^2 - 2g\cos\theta)^{3/2}} \]
. Parameters: