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 <simpleTreeVec.h>
Public Member Functions | |
BranchV (int my_Ndim, IndexType *my_branch_index, IndexType my_nparticles, D my_boundary_p1[], D my_boundary_p2[], int my_level, unsigned long my_BranchVnumber) | |
BranchV (BranchV &branch) | |
Public Attributes | |
int | Ndim |
IndexType * | branch_index |
array of branch_index in BranchV | |
IndexType | nparticles |
int | level |
level in tree | |
unsigned long | number |
D * | boundary_p1 = nullptr |
bottom, left, back corner of box | |
D * | boundary_p2 = nullptr |
top, right, front corner of box | |
std::vector< D > | bank |
std::shared_ptr< BranchV > | child1_ptr |
std::shared_ptr< BranchV > | child2_ptr |
std::shared_ptr< BranchV > | prev_ptr |
father of branch | |
std::shared_ptr< BranchV > | brother_ptr |
Box representing a branch in a tree. It has four children. Used in TreeNBStruct which is used in TreeForce.
std::shared_ptr<BranchV> TreeSimpleVec< T, D >::BranchV::brother_ptr |
Either child2 of father is branch is child1 and child2 exists or the brother of the father. Used for iterative tree walk.