GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
BranchNB Struct Reference

Box representing a branch in a tree. It has four children. Used in TreeNBStruct which is used in TreeForce. More...

#include <simpleTree.h>

Collaboration diagram for BranchNB:

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
 
BranchNBchild1
 
BranchNBchild2
 
BranchNBprev
 father of branch
 
BranchNBbrother
 

Detailed Description

Box representing a branch in a tree. It has four children. Used in TreeNBStruct which is used in TreeForce.

simpleTree.h

Created on: Oct 14, 2011 Author: bmetcalf

Member Data Documentation

◆ brother

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.


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