changa 3.5
Loading...
Searching...
No Matches
TreeNode.h File Reference
#include <sstream>
#include "SFC.h"

Go to the source code of this file.

Functions

std::string TreeStuff::keyBits (const Key k, const int numBits)
 Convert a Key into a printable string.
 

Variables

const double TreeStuff::opening_geometry_factor = 2 / sqrt(3.0)
 
int TreeStuff::maxBucketSize
 The maximum number of particles in a bucket.
 

Detailed Description

This header defines the structures used to make up trees.

Author
Graeme Lufkin (gwl@u.nosp@m..was.nosp@m.hingt.nosp@m.on.e.nosp@m.du)
Date
01 Aug 2005 - Deleted the class SFCTreeNode in favor of GenericTreeNode, Filippo

Variable Documentation

◆ opening_geometry_factor

const double TreeStuff::opening_geometry_factor = 2 / sqrt(3.0)

This converts a "radius to the furthest particle" to the standard Barnes-Hut cell size. We use it to keep the definition of theta consistent.