valSPH
|
#include <LinkedList.h>
Public Member Functions | |
LinkedList () | |
It creates a new empty LinkedList. | |
LinkedList (vector< double > qiMin, vector< double > qiMax, double smoothingLength, vector< Particle > particles) | |
It creates a new LinkedList with the parameters supplied. | |
list< Particle > | getNNP (Particle particle, vector< Particle > particles) |
It performs the NNPS and returns the NNP of the particle. | |
void | update (vector< Particle > particles) |
It updates the LinkedList. | |
~LinkedList () | |
It destroys the LinkedList. | |
![]() | |
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. | |
~SpatialIndex () | |
It destroys the SpatialIndex. | |
Additional Inherited Members | |
![]() | |
vector< double > | qiMin |
vector< double > | qiMax |
double | smoothingLength |
LinkedList::LinkedList | ( | ) |
It creates a new empty LinkedList.
LinkedList::LinkedList | ( | vector< double > | qiMin, |
vector< double > | qiMax, | ||
double | smoothingLength, | ||
vector< Particle > | particles | ||
) |
It creates a new LinkedList with the parameters supplied.
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 |
particles | of the fluid |
LinkedList::~LinkedList | ( | ) |
It destroys the LinkedList.
It performs the NNPS and returns the NNP of the particle.
Implements SpatialIndex.
|
virtual |