Inheritance diagram for hdyn:
Public Member Functions | |
hdyn (hbpfp the_hbpfp=new_hydrobase, sbpfp the_sbpfp=new_starbase) | |
virtual | ~hdyn () |
kira_counters * | get_kira_counters () const |
void | set_kira_counters (kira_counters *k) |
kira_options * | get_kira_options () const |
void | set_kira_options (kira_options *o) |
kira_diag * | get_kira_diag () const |
void | set_kira_diag (kira_diag *d) |
bool | get_use_dstar () const |
void | set_use_dstar (bool u) |
real | get_stellar_encounter_criterion_sq () const |
void | set_stellar_encounter_criterion_sq (real d_sq) |
real | get_stellar_capture_criterion_sq () const |
void | set_stellar_capture_criterion_sq (real d_sq) |
real | get_stellar_merger_criterion_sq () const |
void | set_stellar_merger_criterion_sq (real d_sq) |
int | get_n_perturbed () const |
hdyn ** | get_perturbed_list () |
void | set_eta (real e) |
real | get_eta () const |
void | set_eps (real e) |
real | get_eps () const |
real | get_eps2 () const |
void | set_d_min_fac (real d) |
real | get_d_min_fac () const |
void | set_d_min_sq (real d) |
real | get_d_min_sq () const |
void | set_lag_factor (real f) |
real | get_lag_factor () const |
void | set_mbar (real m) |
real | get_mbar () const |
void | set_gamma2 (real g2) |
real | get_gamma2 () const |
real | get_gamma23 () const |
void | set_initial_step_limit (real s) |
real | get_initial_step_limit () const |
void | set_step_limit (real s) |
real | get_step_limit () const |
void | set_unpert_step_limit (real s) |
real | get_unpert_step_limit () const |
void | set_scaled_stripping_radius (real r) |
real | get_scaled_stripping_radius () const |
void | set_max_slow_factor (int f=1) |
int | get_max_slow_factor () const |
void | set_max_slow_perturbation (real p) |
void | set_max_slow_perturbation_sq (real p) |
real | get_max_slow_perturbation () const |
real | get_max_slow_perturbation_sq () const |
unsigned int | get_config () const |
void | set_config (unsigned int c) |
void | set_restart_grape_flag () |
bool | get_restart_grape_flag () const |
void | clear_restart_grape_flag () |
void | set_n_threads (int n=0) |
int | get_n_threads () const |
void | set_thread_cpu (real t=0) |
real | get_thread_cpu () const |
bool | is_on_integration_list () |
void | set_on_integration_list (bool on=true) |
void | clear_on_integration_list () |
real | get_perturbation_squared () const |
void | set_perturbation_squared (real p) |
bool | get_fully_unperturbed () const |
void | set_fully_unperturbed (bool f) |
real | get_unperturbed_timestep () const |
void | set_unperturbed_timestep (real step) |
void | zero_perturber_list () |
void | set_n_perturbers (int n) |
void | set_n_perturbers_low (int n) |
int | get_n_perturbers () const |
int | get_n_perturbers_low () const |
hdyn ** | get_perturber_list () const |
void | remove_perturber_list () |
void | print_perturber_list (ostream &s=cerr, char *pre="") |
void | find_print_perturber_list (ostream &s=cerr, char *pre="") |
void | new_perturber_list () |
bool | get_valid_perturbers () const |
bool | get_valid_perturbers_low () const |
void | set_valid_perturbers (const bool vp) |
void | set_valid_perturbers_low (const bool vp) |
real | get_perturbation_radius_factor () const |
void | set_perturbation_radius_factor (real f) |
bool | passed_apo () const |
real | get_posvel () const |
hdyn * | get_nn () const |
void | set_nn (hdyn *new_nn) |
real | get_d_nn_sq () const |
void | set_d_nn_sq (real d) |
hdyn * | get_coll () const |
void | set_coll (hdyn *new_coll) |
real | get_d_coll_sq () const |
void | set_d_coll_sq (real d) |
int | get_grape_index () const |
void | set_grape_index (int hindex) |
real | get_grape_rnb_sq () const |
void | set_grape_rnb_sq (real rnb_sq) |
int | get_grape_nb_count () const |
void | set_grape_nb_count (int n) |
bool | has_grape () const |
bool | has_grape4 () const |
bool | has_grape6 () const |
real * | get_pos_addr () |
real * | get_vel_addr () |
real * | get_acc_addr () |
real * | get_jerk_addr () |
real * | get_old_acc_addr () |
real * | get_old_jerk_addr () |
real * | get_k18_addr () |
void | inc_steps (int i=1) |
void | inc_steps (real i) |
real | get_steps () const |
void | inc_direct_force (int i=1) |
void | inc_direct_force (real i) |
real | get_direct_force () const |
void | inc_indirect_force (int i=1) |
void | inc_indirect_force (real i) |
real | get_indirect_force () const |
hdyn * | get_parent () const |
hdyn * | get_oldest_daughter () const |
hdyn * | get_younger_sister () const |
hdyn * | get_elder_sister () const |
hdyn * | get_root () const |
Set or find the root node pointer. | |
hdyn * | get_top_level_node () const |
Return the top-level node of this node. | |
hdyn * | get_binary_sister () |
Find the binary sister of this node. | |
virtual void | null_pointers () |
Clear story and base pointers (dangerous!). | |
virtual void | print_static (ostream &s=cerr) |
Print the static members of this class. | |
virtual istream & | scan_dyn_story (istream &) |
Read the dyn story from a stream. | |
virtual bool | check_and_correct_node (bool verbose=true) |
Repair tree structure. | |
virtual ostream & | print_dyn_story (ostream &s, bool print_xreal=true, int short_output=0) |
Write the dyn story to a stream. | |
real | get_true_timestep () const |
xreal | get_next_time () const |
void | initialize_unperturbed () |
void | initialize_slow () |
void | update_kepler_from_hdyn () |
void | reinitialize_kepler_from_hdyn () |
hdyn * | next_node (hdyn *, bool resolve_unperturbed=true) |
hdyn * | find_perturber_node () |
bool | nn_stats (real energy_cutoff, real kT, vec center, bool verbose, bool long_binary_output=true, int which=0) |
real | print_pert (bool long_binary_output=true, int indent=BIN_INDENT) |
void | setup_binary_node () |
void | synchronize_node (bool exact=true) |
void | set_first_timestep (real additional_step_limit=0) |
void | update (vec &bt2, vec &at3) |
bool | correct_and_update () |
int | flat_calculate_acc_and_jerk (hdyn *root_node, bool make_perturber_list) |
void | perturber_acc_and_jerk_on_leaf (vec &a, vec &j, real &p, real &distance_squared, hdyn *&nn, hdyn *pnode, hdyn *step_node) |
void | tree_walk_for_partial_acc_and_jerk_on_leaf (hdyn *b, hdyn *mask, vec &offset_pos, vec &offset_vel, vec &a, vec &j, real &p, real &distance_squared, hdyn *&p_nn, bool point_mass_flag, hdyn *step_node) |
void | calculate_partial_acc_and_jerk_on_leaf (hdyn *top, hdyn *common, hdyn *mask, vec &a, vec &j, real &p, real &distance_squared, hdyn *&nn, bool point_mass_flag, hdyn *pnode, hdyn *step_node) |
void | calculate_partial_acc_and_jerk (hdyn *top, hdyn *common, hdyn *mask, vec &a, vec &j, real &p, real &distance_squared, hdyn *&p_nn, bool point_mass_flag, hdyn *pnode, hdyn *step_node) |
void | check_add_perturber (hdyn *p, vec &this_pos) |
void | create_low_level_perturber_list (hdyn *pnode) |
void | create_low_level_perturber_lists (bool only_if_null=true) |
void | calculate_acc_and_jerk_on_low_level_node () |
void | calculate_acc_and_jerk_on_top_level_node (bool exact) |
void | top_level_node_prologue_for_force_calculation (bool exact) |
int | top_level_node_real_force_calculation () |
void | top_level_node_epilogue_force_calculation () |
void | calculate_acc_and_jerk (bool exact) |
void | integrate_node (bool exact=true, bool integrate_unperturbed=true, bool force_unperturbed_time=false) |
real | distance_to_sister_squared () |
hdyn * | new_sister_node (bool &top_level_combine) |
int | adjust_tree_structure (int full_dump=0) |
hdyn * | check_periapo_node () |
hdyn * | check_merge_node () |
hdyn * | merge_nodes (hdyn *bcoll, int full_dump=0) |
void | merge_logs_after_collision (hdyn *bi, hdyn *bj) |
void | print_unperturbed_binary_params () |
void | update_dyn_from_kepler (bool need_acc_and_jerk=true) |
bool | is_close_pair () |
bool | is_unperturbed_and_approaching () |
void | startup_unperturbed_motion () |
real | set_unperturbed_timestep (bool check_phase) |
real | get_max_unperturbed_steps (bool to_apo=true, bool predict=false) |
void | recompute_unperturbed_step () |
void | recompute_unperturbed_steps () |
int | integrate_unperturbed_motion (bool &reinitialize, bool force_time=false) |
void | startup_slow_motion () |
void | extend_or_end_slow_motion (real P=0) |
bool | is_perturbed_cpt () |
bool | is_perturbed_cm () |
void | reconstruct_perturbed_list () |
void | dump_perturbed_list () |
int | get_index_on_perturbed_list (bool debug=false) |
bool | on_perturbed_list () |
void | check_perturbed_list () |
void | add_to_perturbed_list (int id=0) |
void | remove_from_perturbed_list (int id=0) |
Protected Member Functions | |
bool | is_weakly_perturbed (int &status) |
bool | is_stable (int &status, bool top_level=true) |
Protected Attributes | |
bool | on_integration_list |
real | perturbation_squared |
bool | fully_unperturbed |
real | unperturbed_timestep |
int | n_perturbers |
hdyn ** | perturber_list |
bool | valid_perturbers |
real | perturbation_radius_factor |
int | n_perturbers_low |
bool | valid_perturbers_low |
real | posvel |
real | prev_posvel |
hdyn * | nn |
real | d_nn_sq |
hdyn * | coll |
real | d_coll_sq |
int | grape_index |
real | grape_rnb_sq |
int | grape_nb_count |
real | steps |
real | direct_force |
real | indirect_force |
Static Protected Attributes | |
static kira_counters * | kc |
static kira_options * | options |
static kira_diag * | diag |
static bool | use_dstar |
static real | stellar_encounter_criterion_sq |
static real | stellar_merger_criterion_sq |
static real | stellar_capture_criterion_sq |
static hdyn ** | perturbed_list |
static int | n_perturbed |
static real | eta |
static real | eps |
static real | eps2 |
static real | d_min_fac |
static real | d_min_sq |
static real | lag_factor |
static real | mbar |
static real | gamma2 |
static real | gamma23 |
static real | initial_step_limit |
static real | step_limit |
static real | unpert_step_limit |
static real | scaled_stripping_radius |
static int | max_slow_factor |
static real | max_slow_perturbation |
static real | max_slow_perturbation_sq |
static unsigned int | config |
static bool | restart_grape_flag |
static int | n_threads |
static real | thread_cpu |
Definition at line 50 of file hdyn.h.