#include <CGridder.hpp>


Public Member Functions | |
| CParticleIDFinder (Cvals *xval, Cvals *yval, Cvals *binval, double xmin, double xmax, double ymin, double ymax, int istart, int iend) | |
| int | doGridding () |
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.
| CParticleIDFinder::CParticleIDFinder | ( | Cvals * | xval, | |
| Cvals * | yval, | |||
| Cvals * | binval, | |||
| double | xmin, | |||
| double | xmax, | |||
| double | ymin, | |||
| double | ymax, | |||
| int | istart, | |||
| int | iend | |||
| ) |
Constructor
| binval | not used at the moment. |
| 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.
1.5.8