GLAMERDOC++
Gravitational Lensing Code Library
|
TreeNBStruct: Tree structure used for force calculation with particles (i.e. stars, Nbody or halos). More...
#include <simpleTree.h>
Public Attributes | |
BranchNB * | top |
BranchNB * | current |
unsigned long | Nbranches |
number of branches in tree | |
short | Ndimensions |
Dimension of tree, 2 or 3. This will dictate how the force is calculated. | |
PType * | pp |
Array of particle positions. | |
TreeNBStruct: Tree structure used for force calculation with particles (i.e. stars, Nbody or halos).
The tree also contains pointers to the list of positions, sizes and masses of the particles. Also flags for the number of dimensions the tree is defined in (2 or 3), and if multiple masses and sizes should be used.