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

Public Member Functions

void addContribution (int ell, int l, double w)
 
const vector< Contribution > & contributions () const
 
bool hasHistoryIndex (size_t historyIndex) const
 
void reset (size_t historyIndex=0)
 
void sort ()
 

Private Attributes

vector< Contribution_contributions
 
size_t _historyIndex
 

Detailed Description

Private data structure to remember a list of contributions for a given photon packet history. We assume that all detections for a given history are handled inside the same execution thread and that histories (within a particular thread) are handled one after the other (i.e. not interleaved).


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