|
valSPH
|
#include <SpatialIndex.h>


Public Member Functions | |
| SpatialIndex () | |
| It creates a new empty. It only will be called from constructors of its inherited classes. | |
| SpatialIndex (vector< double > qiMin, vector< double > qiMax, double smoothingLength) | |
| It creates a new SpatialDecomposition with the parameters supplied. It only will be called from constructors of its inherited classes. | |
| virtual list< Particle > | getNNP (Particle particle, vector< Particle > particles)=0 |
| It will perform the NNPS in its inherited classes. | |
| virtual void | update (vector< Particle > particles)=0 |
| It will update the SpatialIndex in its inherited classes. | |
| ~SpatialIndex () | |
| It destroys the SpatialIndex. | |
Protected Attributes | |
| vector< double > | qiMin |
| vector< double > | qiMax |
| double | smoothingLength |
| SpatialIndex::SpatialIndex | ( | ) |
It creates a new empty. It only will be called from constructors of its inherited classes.
| SpatialIndex::SpatialIndex | ( | vector< double > | qiMin, |
| vector< double > | qiMax, | ||
| double | smoothingLength | ||
| ) |
It creates a new SpatialDecomposition with the parameters supplied. It only will be called from constructors of its inherited classes.
| qiMin | minimum qi values of the simulation's stage |
| qiMax | maximum qi values of the simulation's stage |
| smoothingLength | the new value of the smoothingLength |
| SpatialIndex::~SpatialIndex | ( | ) |
It destroys the SpatialIndex.
|
pure virtual |
It will perform the NNPS in its inherited classes.
Implemented in LinkedList, AllPair, SpatialHashing, and SpatialTree.

|
pure virtual |
It will update the SpatialIndex in its inherited classes.
| particles | of the fluid |
Implemented in LinkedList, AllPair, SpatialHashing, and SpatialTree.
|
protected |
|
protected |
|
protected |