GLAMERDOC++
Gravitational Lensing Code Library
Public Attributes | List of all members
OTreeNB< PType, DType >::Branch Struct Reference

classes More...

#include <oTreeNB.h>

Collaboration diagram for OTreeNB< PType, DType >::Branch:
Collaboration graph
[legend]

Public Attributes

IndexType * particles
 array of particles in Branch
 
IndexType nparticles
 
PType boundary_p1
 bottom, left, back corner of box
 
PType boundary_p2
 top, right, front corner of box More...
 
PType center
 
PosType boxsize
 
PosType root_inv_density
 
int level
 level in tree
 
Branch * children = nullptr
 
Branch * child
 
Branch * prev
 father of branch
 
Branch * brother
 
PosType xcm [3] = {0.0, 0.0, 0.0}
 
PosType quad [3] = {0.0, 0.0, 0.0}
 
DType mass = 0
 

Detailed Description

template<typename PType = Point_3d<PosType>, typename DType = PosType>
struct OTreeNB< PType, DType >::Branch

classes

Box representing a branch in a tree. It has four children. Used in OTreeNB which is used in TreeQuad.

Member Data Documentation

◆ boundary_p2

template<typename PType = Point_3d<PosType>, typename DType = PosType>
PType OTreeNB< PType, DType >::Branch::boundary_p2

top, right, front corner of box

center of box

◆ brother

template<typename PType = Point_3d<PosType>, typename DType = PosType>
Branch* OTreeNB< PType, DType >::Branch::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: