#include <PhotonPacket.hpp>
Public Member Functions | |
| ScatteringInfo (int h) | |
Public Attributes | |
| bool | dipole |
| double | lambda |
| int | species |
| bool | valid |
| Vec | velocity |
Private Attributes | |
| int | _h |
Friends | |
| class | PhotonPacket |
This class defines the scattering information record maintained by a photon packet for each medium component that needs it. In case some aspects of the scattering event are governed by a probability distribution, this information record can be used to ensure that the outgoing random walk photon packet and all corresponding peel-off photon packets use the same randomly sampled values.
The following data members have public scope so that they can be directly accessed by client code:
Apart from initialization by the getScatteringInfo() function as indicated above, the client code is fully responsible for writing and reading these fields.