GLAMERDOC++
Gravitational Lensing Code Library
Public Attributes | List of all members
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 >:
Collaboration graph
[legend]

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.
 

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: