Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

kepler Class Reference

kepler: A representation of the internal dynamics of a 2-body system. More...

#include <kepler.h>

List of all members.

Public Member Functions

virtual ~kepler ()
void kep_to_dyn_story (story *)
 Save essential information on the kepler class in the dyn story.
void set_time (const real new_time)
void offset_time (const real dt)
 Offset all times by the specified amount.
void set_total_mass (const real new_mass)
void set_rel_pos (const vec &new_pos)
void set_rel_vel (const vec &new_vel)
void set_energy (const real E)
void set_semi_major_axis (const real a)
void set_angular_momentum (const real h)
void set_eccentricity (const real e)
void set_periastron (const real q)
void set_mean_anomaly (const real M)
void set_orientation (vec &l, vec &t, vec &n)
 Set all vectors defining the orbit.
void align_with_axes (int)
 Set orientation vectors along x, y, z axes.
real get_circular_binary_limit ()
void set_circular_binary_limit (real e)
kep_configget_kep_init ()
void set_kep_init (kep_config *k)
void initialize_from_pos_and_vel (bool minimal=false, bool verbose=true)
void initialize_from_shape_and_phase ()
real get_time ()
real get_pred_time ()
real get_total_mass ()
vec get_rel_pos ()
vec get_rel_vel ()
real get_energy ()
real get_semi_major_axis ()
real get_angular_momentum ()
real get_eccentricity ()
real get_periastron ()
real get_apastron ()
real get_period ()
real get_mean_motion ()
vec get_normal_unit_vector ()
vec get_longitudinal_unit_vector ()
vec get_transverse_unit_vector ()
real get_separation ()
real get_true_anomaly ()
real get_mean_anomaly ()
real get_time_of_periastron_passage ()
real advance_to_radius (real)
 Transform forward in time.
real return_to_radius (real)
 Transform backward in time.
real advance_to_periastron ()
real return_to_periastron ()
real advance_to_apastron ()
real return_to_apastron ()
real transform_to_time (real)
real pred_transform_to_radius (real, int)
real pred_advance_to_radius (real)
 Transform forward in time.
real pred_return_to_radius (real)
 Transform backward in time.
real pred_advance_to_periastron ()
real pred_return_to_periastron ()
real pred_advance_to_apastron ()
real pred_return_to_apastron ()
real pred_transform_to_time (real)
void print_all (ostream &s=cerr)
void print_dyn (ostream &s=cerr)
void print_elements (ostream &s=cerr)

Protected Member Functions

void fast_to_pred_rel_pos_vel (real r_cos_true_an, real r_sin_true_an)
void fast_pred_mean_anomaly_to_pos_and_vel ()
void to_pred_rel_pos_vel (real, real)
void to_pred_rel_pos_vel_linear (real)
void pred_true_to_mean_anomaly ()
void mean_anomaly_to_periastron_passage ()
void update_time_of_periastron ()
void set_real_from_pred ()
void pred_mean_anomaly_to_pos_and_vel ()

Protected Attributes

real total_mass
 sum of the two masses
real energy
 per unit reduced mass
real angular_momentum
 per unit reduced mass
real mean_motion
real period
vec normal_unit_vector
 norm = (long ^ trans)
vec longitudinal_unit_vector
 along the major axis
vec transverse_unit_vector
 along the minor axis
real semi_major_axis
real eccentricity
real periastron
real time_of_periastron_passage
 Time of the most recent periastron in the elliptical case.
real time
 current time
vec rel_pos
 r_2 - r_1
vec rel_vel
 v_2 - v_1
real separation
 separation between components
real true_anomaly
real mean_anomaly
real pred_time
 predicted value
vec pred_rel_pos
 predicted value
vec pred_rel_vel
 predicted value
real pred_separation
 predicted value
real pred_true_anomaly
 predicted value
real pred_mean_anomaly
 predicted value
real circular_binary_limit
kep_configkep_init
 Initial configuration data.


Detailed Description

kepler: A representation of the internal dynamics of a 2-body system.

Definition at line 49 of file kepler.h.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 12:43:38 2005 for Starlab by  doxygen 1.4.3