Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

hdyn_ev.C File Reference

#include "hdyn.h"
#include "hdyn_inline.C"

Go to the source code of this file.

Defines

#define INITIAL_STEP_LIMIT   0.0625
#define USE_POINT_MASS   true
#define ONE12   0.0833333333333333333333
#define ONE3   0.3333333333333333333333

Functions

void update_binary_sister (hdyn *bi)
local real new_timestep (vector &at3, vector &bt2, vector &jerk, vector &acc, real timestep, real time, real correction_factor, hdyn *b, real pert_sq)
hdyn* node_to_move (hdyn *b, real &tmin)
void get_nodes_to_move (hdyn *b, hdyn *list[], int &nlist, real &tmin)
void initialize_system_phase1 (hdyn *b, xreal t)
local void get_derivs (vector &acc, vector &jerk, vector &old_acc, vector &old_jerk, real dt, vector &bt2, vector &at3)
local void update_derivs_from_perturbed (vector &acc_p, vector &jerk_p, vector &old_acc_p, vector &old_jerk_p, real kdt, real ki2, real ki3, vector &acc, vector &jerk, vector &bt2, vector &at3, bool print=false)
local void correct_slow (slow_binary *s, real dt, vector &acc, vector &jerk, vector &bt2, vector &at3, int id)
void accumulate_acc_and_jerk (hdyn *b, vector &d_pos, vector &d_vel, real eps2, vector &a, vector &j, real &p, real &distance_squared)
local int n_leaves_or_unperturbed (hdyn *b)
local bool expand_nodes (int &n, hdyn **list, bool debug=false)
local void apply_correction (hdyn *bj, hdyn *bi)
local hdyn* need_correction (hdyn *bj, hdyn *bi)
void clean_up_hdyn_ev ()
void correct_acc_and_jerk (hdyn *root, bool &reset)
local void check_and_apply_correction (hdyn *bj, hdyn *bi)
void correct_acc_and_jerk (hdyn **next_nodes, int n_next)
void synchronize_tree (hdyn *b)


Define Documentation

#define INITIAL_STEP_LIMIT   0.0625
 

Definition at line 146 of file hdyn_ev.C.

#define ONE12   0.0833333333333333333333
 

Definition at line 975 of file hdyn_ev.C.

#define ONE3   0.3333333333333333333333
 

Definition at line 976 of file hdyn_ev.C.

#define USE_POINT_MASS   true
 

Definition at line 147 of file hdyn_ev.C.


Function Documentation

void accumulate_acc_and_jerk ( hdyn * b,
vector & d_pos,
vector & d_vel,
real eps2,
vector & a,
vector & j,
real & p,
real & distance_squared ) [inline]
 

Definition at line 1556 of file hdyn_ev.C.

local void apply_correction ( hdyn * bj,
hdyn * bi ) [inline]
 

Definition at line 2977 of file hdyn_ev.C.

Referenced by check_and_apply_correction(), and correct_acc_and_jerk().

local void check_and_apply_correction ( hdyn * bj,
hdyn * bi ) [inline]
 

Definition at line 3333 of file hdyn_ev.C.

Referenced by correct_acc_and_jerk().

void clean_up_hdyn_ev ( )
 

Definition at line 3210 of file hdyn_ev.C.

void correct_acc_and_jerk ( hdyn ** next_nodes,
int n_next )
 

Definition at line 3421 of file hdyn_ev.C.

Referenced by kira_synchronize_tree().

void correct_acc_and_jerk ( hdyn * root,
bool & reset )
 

Definition at line 3212 of file hdyn_ev.C.

local void correct_slow ( slow_binary * s,
real dt,
vector & acc,
vector & jerk,
vector & bt2,
vector & at3,
int id ) [inline]
 

Definition at line 919 of file hdyn_ev.C.

Referenced by ONE3().

local bool expand_nodes ( int & n,
hdyn ** list,
bool debug = false ) [inline]
 

Definition at line 2475 of file hdyn_ev.C.

local void get_derivs ( vector & acc,
vector & jerk,
vector & old_acc,
vector & old_jerk,
real dt,
vector & bt2,
vector & at3 ) [inline]
 

Definition at line 870 of file hdyn_ev.C.

Referenced by ONE3(), and update_derivs_from_perturbed().

void get_nodes_to_move ( hdyn * b,
hdyn * list[],
int & nlist,
real & tmin )
 

Definition at line 777 of file hdyn_ev.C.

void initialize_system_phase1 ( hdyn * b,
xreal t )
 

Definition at line 826 of file hdyn_ev.C.

Referenced by evolve_system().

local int n_leaves_or_unperturbed ( hdyn * b ) [inline]
 

Definition at line 2436 of file hdyn_ev.C.

Referenced by expand_nodes().

local hdyn * need_correction ( hdyn * bj,
hdyn * bi ) [inline]
 

Definition at line 3126 of file hdyn_ev.C.

Referenced by correct_acc_and_jerk().

local real new_timestep ( vector & at3,
vector & bt2,
vector & jerk,
vector & acc,
real timestep,
real time,
real correction_factor,
hdyn * b,
real pert_sq ) [inline]
 

Definition at line 351 of file hdyn_ev.C.

hdyn* node_to_move ( hdyn * b,
real & tmin )
 

Definition at line 749 of file hdyn_ev.C.

void synchronize_tree ( hdyn * b )
 

Definition at line 3567 of file hdyn_ev.C.

Referenced by evolve_stars(), and kira_synchronize_tree().

void update_binary_sister ( hdyn * bi )
 

Definition at line 164 of file hdyn_ev.C.

Referenced by split_top_level_node().

local void update_derivs_from_perturbed ( vector & acc_p,
vector & jerk_p,
vector & old_acc_p,
vector & old_jerk_p,
real kdt,
real ki2,
real ki3,
vector & acc,
vector & jerk,
vector & bt2,
vector & at3,
bool print = false ) [inline]
 

Definition at line 878 of file hdyn_ev.C.

Referenced by ONE3(), and correct_slow().


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