valSPH
Main Page
Classes
Files
File List
File Members
valSPH
Classes
Files
File List
AllPair.cpp
AllPair.h
Configuration.cpp
Configuration.h
CotangentBundlePoint.cpp
CotangentBundlePoint.h
CubicKernel.cpp
CubicKernel.h
Display.cpp
Display.h
DisplaySilo.cpp
DisplaySilo.h
DisplayVTK.cpp
DisplayVTK.h
EoS.cpp
EoS.h
Equation.cpp
Equation.h
EulerExplicitSolver.cpp
EulerExplicitSolver.h
Fehlberg.cpp
Fehlberg.h
Fluid.cpp
Fluid.h
FourTensor.cpp
FourTensor.h
GaussianKernel.cpp
GaussianKernel.h
HDEquation.cpp
HDEquation.h
IdealGasEoS.cpp
IdealGasEoS.h
Kernel.cpp
Kernel.h
LinkedList.cpp
LinkedList.h
LSEoS.cpp
LSEoS.h
main.cpp
MIT60EoS.cpp
MIT60EoS.h
MIT80EoS.cpp
MIT80EoS.h
Momentum.cpp
Momentum.h
MultigridSolver.cpp
MultigridSolver.h
OdeSolver.cpp
OdeSolver.h
OneTensor.cpp
OneTensor.h
Particle.cpp
Particle.h
PdeSolver.cpp
PdeSolver.h
PendulumEquation.cpp
PendulumEquation.h
Position.cpp
Position.h
PredictorCorrector.cpp
PredictorCorrector.h
QuarticKernel.cpp
QuarticKernel.h
QuinticKernel.cpp
QuinticKernel.h
RK23Solver.cpp
RK23Solver.h
RK4Solver.cpp
RK4Solver.h
ShenEoS.cpp
ShenEoS.h
Spacetime.cpp
Spacetime.h
SpatialHashing.cpp
SpatialHashing.h
SpatialIndex.cpp
SpatialIndex.h
SpatialTree.cpp
SpatialTree.h
Stage.cpp
Stage.h
TensorialKernel.cpp
TensorialKernel.h
ThreeTensor.cpp
ThreeTensor.h
TwoTensor.cpp
TwoTensor.h
ValKernel.cpp
ValKernel.h
Verlet.cpp
Verlet.h
File Members
•
All
Classes
Files
Functions
Variables
SpatialIndex.h
Go to the documentation of this file.
1
10
#ifndef __SpatialIndex_h__
11
#define __SpatialIndex_h__
12
13
14
#include <vector>
15
#include <list>
16
#include "
Particle.h
"
17
18
19
using namespace
std;
20
21
22
class
SpatialIndex
{
23
24
25
protected
:
26
27
28
vector<double>
qiMin
;
29
vector<double>
qiMax
;
30
double
smoothingLength
;
31
32
33
public
:
34
35
39
SpatialIndex
();
40
41
49
SpatialIndex
(
50
vector<double> qiMin,
51
vector<double> qiMax,
52
double
smoothingLength
53
);
54
55
61
virtual
list<Particle> getNNP(
Particle
particle, vector<Particle> particles) = 0;
62
63
69
virtual
void
update(vector<Particle> particles) = 0;
70
71
75
~
SpatialIndex
();
76
77
};
78
79
80
#endif
valCode
repository
valSPH
src
SpatialIndex.h
Generated on Fri Nov 23 2012 19:13:59 for valSPH by
1.8.2