dyn.h
Classes
- dyn -- (full description)
class dyn : public node
Interface
- Public Members
- dyn(hbpfp the_hbpfp = new_hydrobase, sbpfp the_sbpfp = new_starbase) : node(the_hbpfp, the_sbpfp)
- virtual ~dyn()
- void set_pos(const vector& new_pos)
- void set_vel(const vector& new_vel)
- void set_acc(const vector& new_acc)
- void clear_pos()
- void clear_vel()
- void clear_acc()
- void inc_pos(const vector& d_pos)
- void inc_vel(const vector& d_vel)
- void inc_acc(const vector& d_acc)
- void scale_pos(const real scale_factor)
- void scale_vel(const real scale_factor)
- vector get_pos()
- vector get_vel()
- vector get_acc()
- dyn * get_parent()
- dyn * get_oldest_daughter()
- dyn * get_younger_sister()
- dyn * get_elder_sister()
- dyn * get_root()
- dyn * get_top_level_node()
- dyn * get_binary_sister()
- void calculate_acceleration(dyn &, real)
- kepler * get_kepler()
- void set_kepler(kepler * new_kep)
- virtual istream& scan_dyn_story(istream&)
- virtual ostream& print_dyn_story(ostream&)
- void to_com()
- void to_cod()
- void flatten_node()
- real get_radius()
because it needs to know about the dyn class
-----------------------------------------------------------------------------
dyn -- the simplest class of dynamical particles
-----------------------------------------------------------------------------
dyn
Member Description
dyn(hbpfp the_hbpfp = new_hydrobase, sbpfp the_sbpfp = new_starbase) : node(the_hbpfp, the_sbpfp)
virtual ~dyn()
void scale_pos(const real scale_factor)
void scale_vel(const real scale_factor)
transformation to center-of-mass coordinates
transformation to center-of-density coordinates
Declaration of member function defined in dyn_tt.C