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

The box representing a branch of a binary tree structure. Used specifically in TreeStruct for organizing points in the grid. More...

#include <point.h>

Collaboration diagram for Branch:

Public Member Functions

 Branch (Point *my_points, unsigned long my_npoints, double my_boundary_p1[2], double my_boundary_p2[2], double my_center[2], int my_level)
 
void print ()
 print out all member data for testing purposes
 
PosType area ()
 

Public Attributes

struct Pointpoints
 
unsigned long npoints
 pointer to first points in Branch
 
double center [2]
 
int level
 
unsigned long number
 
double boundary_p1 [2]
 
double boundary_p2 [2]
 
Branchchild1
 
Branchchild2
 
Branchbrother
 
Branchprev
 
bool refined
 Marks point as start of a level of refinement.
 
std::list< Branch * > neighbors
 

Detailed Description

The box representing a branch of a binary tree structure. Used specifically in TreeStruct for organizing points in the grid.


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