GLAMERDOC++
Gravitational Lensing Code Library
|
Box representing a branch in a tree. It has four children. Used in TreeNBStruct which is used in TreeForce. More...
#include <simpleTree.h>
Public Member Functions | |
BranchNB (int Ndim) | |
Public Attributes | |
IndexType * | particles |
array of particles in BranchNB | |
IndexType | nparticles |
IndexType | big_particle |
the number of particles that aren't in children | |
PosType * | center |
center of mass | |
int | level |
level in tree | |
unsigned long | number |
PosType * | boundary_p1 |
bottom, left, back corner of box | |
PosType * | boundary_p2 |
top, right, front corner of box | |
BranchNB * | child1 |
BranchNB * | child2 |
BranchNB * | prev |
father of branch | |
BranchNB * | brother |
Box representing a branch in a tree. It has four children. Used in TreeNBStruct which is used in TreeForce.
Created on: Oct 14, 2011 Author: bmetcalf
BranchNB* BranchNB::brother |
Either child2 of father is branch is child1 and child2 exists or the brother of the father. Used for iterative tree walk.