Space Comps
 All Classes Files Functions Variables
octreealgorithm.h
1 #ifndef OCTREEALGORITHM_H
2 #define OCTREEALGORITHM_H
3 #include "algorithm.h"
4 #include "octree.h"
5 
11 class OctreeAlgorithm : public Algorithm
12 {
13 public:
24  OctreeAlgorithm(int xIn, int yIn, int zIn, int numParticlesIn);
25 
37  OctreeAlgorithm(int xIn, int yIn, int zIn, double centerMassIn, int numParticlesIn);
38  ~OctreeAlgorithm();
39 
40 private:
41  Octree* octree;
42  void calculateNextTimestep();
43 };
44 
45 #endif // OCTREEALGORITHM_H
The Algorithm class is a parent to all the specific Algorithms we test.
Definition: algorithm.h:16
An Algorithm that implements Octrees .
Definition: octreealgorithm.h:11
The Octree data structure used in OctreeAlgorithm.
Definition: octree.h:10
OctreeAlgorithm(int xIn, int yIn, int zIn, int numParticlesIn)
Constructs a OctreeAlgorithm object.
Definition: octreealgorithm.cpp:3