hdyn.h

Classes

hdyn -- (full description)

class hdyn : public dyn

Interface

Public Members
hdyn(hbpfp the_hbpfp = new_hydrobase, sbpfp the_sbpfp = new_starbase) : dyn(the_hbpfp, the_sbpfp)
void set_timestep(real dt)
real get_timestep()
real get_time()
void set_time(real t)
void clear_interaction()
void set_acc_and_jerk_and_pot(const vector & a, const vector & j, real p)
real get_next_time()
real get_next_time()
vector get_pred_pos()
vector get_pred_vel()
real get_pot()
void set_pot(real p)
void clear_pot()
void inc_pot(const real& d_pot)
void set_jerk(const vector& new_jerk)
void clear_jerk()
void inc_jerk(const vector& d_jerk)
vector get_jerk()
hdyn * get_nn()
void set_nn(hdyn * new_nn)
real get_d_nn_sq()
void set_d_nn_sq(real d)
hdyn * get_parent()
hdyn * get_oldest_daughter()
hdyn * get_younger_sister()
hdyn * get_elder_sister()
hdyn * get_root()
hdyn * get_top_level_node()
hdyn * get_binary_sister()
virtual istream& scan_dyn_story(istream&)
virtual ostream& print_dyn_story(ostream &)
void init_pred()
void store_old_force()
void predict_loworder(const real t)
void predict_loworder(const real t)
void set_first_timestep(real, real)
void flat_set_first_timestep(real, real)
void correct()
void update(const real, const real)
void flat_update(const real, const real)
void correct_and_update(const real, const real, const real)
void flat_accumulate_acc_and_jerk(hdyn &, real)
void flat_calculate_acc_and_jerk(hdyn *, real)
void integrate_node(hdyn*, real, real, real)
void calculate_acc_and_jerk(real)
void calculate_acc_and_jerk_on_top_level_node(real)
void calculate_acc_and_jerk_on_low_level_node(real)
void calculate_partial_acc_and_jerk(hdyn*, hdyn*, real, vector&, vector&, real&, real&, hdyn*&)
void calculate_partial_acc_and_jerk_on_leaf(hdyn*, hdyn*, real, vector&, vector&, real&, real&, hdyn*&)
void tree_walk_for_partial_acc_and_jerk_on_leaf(hdyn*, hdyn*, vector, vector, real, vector&, vector&, real&, real&, hdyn*&)
void setup_binary_node()
void synchronize_node(real, real, real, real)
real distance_to_sister_squared()
hdyn* new_sister_node(real, bool&)
bool is_unperturbed_and_approarching(real gamma2)
void startup_unperturbed_motion()
void integrate_unperturbed_motion(real gamma2)

Description

because it needs to know about the hdyn class

----------------------------------------------------------------------------- hdyn -- a derived class of dynamical particles, with enough information to integrate the equations of motions with a 4th-order Hermite polynomial integrator. -----------------------------------------------------------------------------

hdyn

Member Description

hdyn(hbpfp the_hbpfp = new_hydrobase, sbpfp the_sbpfp = new_starbase) : dyn(the_hbpfp, the_sbpfp)

void set_timestep(real dt)

real get_timestep()

real get_time()

void set_time(real t)

void clear_interaction()

void set_acc_and_jerk_and_pot(const vector & a, const vector & j, real p)

real get_next_time()

real get_next_time()

vector get_pred_pos()

vector get_pred_vel()

real get_pot()

void set_pot(real p)

void clear_pot()

void inc_pot(const real& d_pot)

void set_jerk(const vector& new_jerk)

void clear_jerk()

void inc_jerk(const vector& d_jerk)

vector get_jerk()

hdyn * get_nn()

void set_nn(hdyn * new_nn)

real get_d_nn_sq()

void set_d_nn_sq(real d)

hdyn * get_parent()

hdyn * get_oldest_daughter()

hdyn * get_younger_sister()

hdyn * get_elder_sister()

hdyn * get_root()

hdyn * get_top_level_node()

hdyn * get_binary_sister()

virtual istream& scan_dyn_story(istream&)

virtual ostream& print_dyn_story(ostream &)

void init_pred()

void store_old_force()

void predict_loworder(const real t)

void predict_loworder(const real t)

void set_first_timestep(real, real)

void flat_set_first_timestep(real, real)

void correct()

void update(const real, const real)

void flat_update(const real, const real)

void correct_and_update(const real, const real, const real)

void flat_accumulate_acc_and_jerk(hdyn &, real)

void flat_calculate_acc_and_jerk(hdyn *, real)

void integrate_node(hdyn*, real, real, real)

void calculate_acc_and_jerk(real)

void calculate_acc_and_jerk_on_top_level_node(real)

void calculate_acc_and_jerk_on_low_level_node(real)

void calculate_partial_acc_and_jerk(hdyn*, hdyn*, real, vector&, vector&, real&, real&, hdyn*&)

void calculate_partial_acc_and_jerk_on_leaf(hdyn*, hdyn*, real, vector&, vector&, real&, real&, hdyn*&)

void tree_walk_for_partial_acc_and_jerk_on_leaf(hdyn*, hdyn*, vector, vector, real, vector&, vector&, real&, real&, hdyn*&)

void setup_binary_node()

void synchronize_node(real, real, real, real)

real distance_to_sister_squared()

hdyn* new_sister_node(real, bool&)

bool is_unperturbed_and_approarching(real gamma2)

void startup_unperturbed_motion()

void integrate_unperturbed_motion(real gamma2)