GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
TreeNBStruct< PType > Struct Template Reference

TreeNBStruct: Tree structure used for force calculation with particles (i.e. stars, Nbody or halos). More...

#include <simpleTree.h>

Collaboration diagram for TreeNBStruct< PType >:

Public Attributes

BranchNBtop
 
BranchNBcurrent
 
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.
 

Detailed Description

template<typename PType>
struct TreeNBStruct< PType >

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.


The documentation for this struct was generated from the following file: