The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
PhotonPacket::ScatteringInfo Class Reference

#include <PhotonPacket.hpp>

Public Member Functions

 ScatteringInfo (int h)
 

Public Attributes

bool dipole
 
int species
 
bool valid
 
Vec velocity
 

Private Attributes

int _h
 

Friends

class PhotonPacket
 

Detailed Description

This class defines the scattering information record maintained by a photon packet for each medium component that needs it. 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.


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