Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

make_tree.C File Reference

#include "sdyn.h"

Go to the source code of this file.

Defines

#define MIN_PERI_FACTOR   2
#define MAX_PERI_FACTOR   6
#define ISOL_FACTOR   4
#define ISOL_FACTOR_SQ   (ISOL_FACTOR * ISOL_FACTOR)
#define QUARANTINE_TIME_LIMIT   100
#define QSMA_TOL   0.01
#define QECC_TOL   0.1

Functions

local void pp (sdyn *b, ostream &s, int level=0)
char* id (sdyn *bb)
local int count_daughters (sdyn *b)
local void find_neighbors (sdyn *b)
local void detach_from_tree (sdyn *bi)
local void add_node (sdyn *root, sdyn *new_node)
local real m_sum (sdyn *list[], int k_tuple)
local vector pos_sum (sdyn *list[], int k_tuple)
local vector vel_sum (sdyn *list[], int k_tuple)
local real tuple_size (sdyn *list[], int k_tuple)
local real tuple_virial_radius (sdyn *list[], int k_tuple)
local real distance_sq (sdyn *list[], int k_tuple, sdyn *rest[], int n_rest)
local bool is_bound (sdyn *list[], int k_tuple)
local sdyn* make_tuple_cm (sdyn *list[], int k_tuple, real radius, bool meta=FALSE)
local void identify_node (char *string, sdyn *bb)
local void set_tqflag (sdyn *b, int flag)
local void check_tqflag (sdyn *b)
local void set_quar (sdyn *b, int flag, real time, real sma, real ecc)
local bool check_quar (sdyn *b, int flag, real time, real sma, real ecc)
local bool check_quarantine (sdyn *b, sdyn *n, real sma, real ecc, int debug)
local int find_and_make_binaries (sdyn *b, bool dynamics, bool stability, int debug)
local int find_and_make_tuple (sdyn *b, int k_tuple, bool dynamics, bool stability, int debug)
void make_tree (sdyn *b, bool dynamics, bool stability, int k_max, int debug)


Define Documentation

#define ISOL_FACTOR   4
 

Definition at line 340 of file make_tree.C.

#define ISOL_FACTOR_SQ   (ISOL_FACTOR * ISOL_FACTOR)
 

Definition at line 341 of file make_tree.C.

#define MAX_PERI_FACTOR   6
 

Definition at line 339 of file make_tree.C.

#define MIN_PERI_FACTOR   2
 

Definition at line 338 of file make_tree.C.

#define QECC_TOL   0.1
 

Definition at line 345 of file make_tree.C.

#define QSMA_TOL   0.01
 

Definition at line 344 of file make_tree.C.

#define QUARANTINE_TIME_LIMIT   100
 

Definition at line 343 of file make_tree.C.


Function Documentation

local void add_node ( sdyn * root,
sdyn * new_node )
 

Definition at line 117 of file make_tree.C.

local bool check_quar ( sdyn * b,
int flag,
real time,
real sma,
real ecc )
 

Definition at line 390 of file make_tree.C.

Referenced by check_quarantine().

local bool check_quarantine ( sdyn * b,
sdyn * n,
real sma,
real ecc,
int debug )
 

Definition at line 416 of file make_tree.C.

Referenced by find_and_make_binaries().

local void check_tqflag ( sdyn * b )
 

Definition at line 360 of file make_tree.C.

Referenced by make_tree().

local int count_daughters ( sdyn * b )
 

Definition at line 51 of file make_tree.C.

Referenced by find_and_make_tuple(), and make_tree().

local void detach_from_tree ( sdyn * bi )
 

Definition at line 100 of file make_tree.C.

Referenced by make_tuple_cm().

local real distance_sq ( sdyn * list[],
int k_tuple,
sdyn * rest[],
int n_rest )
 

Definition at line 201 of file make_tree.C.

Referenced by find_and_make_tuple().

local int find_and_make_binaries ( sdyn * b,
bool dynamics,
bool stability,
int debug )
 

Definition at line 481 of file make_tree.C.

Referenced by find_and_make_tuple().

local int find_and_make_tuple ( sdyn * b,
int k_tuple,
bool dynamics,
bool stability,
int debug )
 

Definition at line 646 of file make_tree.C.

Referenced by make_tree().

local void find_neighbors ( sdyn * b )
 

Definition at line 63 of file make_tree.C.

char* id ( sdyn * bb )
 

Definition at line 37 of file make_tree.C.

Referenced by find_and_make_binaries(), find_and_make_tuple(), identify_node(), and tree_is_unbound().

local void identify_node ( char * string,
sdyn * bb )
 

Definition at line 328 of file make_tree.C.

Referenced by find_and_make_binaries().

local bool is_bound ( sdyn * list[],
int k_tuple )
 

Definition at line 216 of file make_tree.C.

Referenced by find_and_make_tuple().

local real m_sum ( sdyn * list[],
int k_tuple )
 

Definition at line 132 of file make_tree.C.

Referenced by is_bound(), make_tuple_cm(), tuple_size(), and tuple_virial_radius().

void make_tree ( sdyn * b,
bool dynamics,
bool stability,
int k_max,
int debug )
 

Definition at line 757 of file make_tree.C.

Referenced by extend_or_end_scatter4(), get_sigma(), merge_collisions(), scatter(), and slave_part_of_experiment().

local sdyn* make_tuple_cm ( sdyn * list[],
int k_tuple,
real radius,
bool meta = FALSE )
 

Definition at line 239 of file make_tree.C.

Referenced by find_and_make_binaries(), and find_and_make_tuple().

local vector pos_sum ( sdyn * list[],
int k_tuple )
 

Definition at line 143 of file make_tree.C.

Referenced by make_tuple_cm(), and tuple_size().

local void pp ( sdyn * b,
ostream & s,
int level = 0 )
 

Definition at line 17 of file make_tree.C.

local void set_quar ( sdyn * b,
int flag,
real time,
real sma,
real ecc )
 

Definition at line 370 of file make_tree.C.

Referenced by check_quarantine().

local void set_tqflag ( sdyn * b,
int flag )
 

Definition at line 351 of file make_tree.C.

Referenced by check_quarantine(), and make_tree().

local real tuple_size ( sdyn * list[],
int k_tuple )
 

Definition at line 170 of file make_tree.C.

Referenced by find_and_make_tuple().

local real tuple_virial_radius ( sdyn * list[],
int k_tuple )
 

Definition at line 184 of file make_tree.C.

Referenced by find_and_make_tuple().

local vector vel_sum ( sdyn * list[],
int k_tuple )
 

Definition at line 156 of file make_tree.C.

Referenced by is_bound(), and make_tuple_cm().


Generated at Sun Feb 24 09:57:28 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001