CParticleIDFinder Class Reference

Find all particle IDs in a certain area. More...

#include <CGridder.hpp>

Inheritance diagram for CParticleIDFinder:

Inheritance graph
[legend]
Collaboration diagram for CParticleIDFinder:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CParticleIDFinder (Cvals *xval, Cvals *yval, Cvals *binval, double xmin, double xmax, double ymin, double ymax, int istart, int iend)
int doGridding ()


Detailed Description

Find all particle IDs in a certain area.

A class to find all particle IDs in a certain area. Puts those in the result matrix, which is allocated to have rows equal to the number of particles found, 1 column.


Constructor & Destructor Documentation

CParticleIDFinder::CParticleIDFinder ( Cvals xval,
Cvals yval,
Cvals binval,
double  xmin,
double  xmax,
double  ymin,
double  ymax,
int  istart,
int  iend 
)

Constructor

Parameters:
binval not used at the moment.


Member Function Documentation

int CParticleIDFinder::doGridding (  )  [virtual]

implementation of the pure virtual function: 1. checks how many particles we have 2. Allocates memory to store those 3. Puts the IDs (actually the array indices) in the memory

warning: if no particles are found the data array is not allocated! Check for NULL with getDataPtr or check the return value of doGridding.

Implements CGridder.


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

Generated on Fri Oct 16 18:59:58 2009 for HYPLOT by  doxygen 1.5.8