Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

kepler.C File Reference

#include "dyn.h"

Go to the source code of this file.

Defines

#define ITERAC   1.0e-12
#define MAXITER   100
#define TRIG_TOL   1.e-12
#define SQRT_TRIG_TOL   1.e-6
#define INFINITY   VERY_LARGE_NUMBER

Functions

local real cos_to_sin (real c)
void set_kepler_tolerance (int i)
void set_kepler_print_trig_warning (bool p)
int kepler_tolerance ()
local int check_trig_limit (kepler *k, real &c, char *s)
local void err_or_warn (char *s)
local int keplerseq (real mean_an, real ecc, real &true_an, real &ecc_an)
local int keplershypeq (real mean_an, real ecc, real &true_an, real &ecc_an)
local real keplerspareq (real mean_an, real &true_an)
void new_kepler (dyn *com, real t)
void new_child_kepler (dyn *com, real t, real circ_limit)
void dyn_to_kepler (dyn *com, real t)
void dyn_to_child_kepler (dyn *com, real t)
void set_kepler_fast_flag (bool flag)
void clear_kepler_fast_flag ()
bool get_kepler_fast_flag ()
void set_kepler_fast_tol (real tol)
void reset_kepler_fast_tol ()
real get_kepler_fast_tol ()
local void fast_keplerseq (real M, real e, real tol, real &s, real &c)
void make_standard_kepler (kepler &k, real t, real mass, real energy, real eccentricity, real q, real mean_anomaly, int align_axis)
void set_random_orientation (kepler &k, int planar)


Define Documentation

#define INFINITY   VERY_LARGE_NUMBER
 

Definition at line 29 of file kepler.C.

#define ITERAC   1.0e-12
 

Definition at line 22 of file kepler.C.

#define MAXITER   100
 

Definition at line 23 of file kepler.C.

#define SQRT_TRIG_TOL   1.e-6
 

Definition at line 27 of file kepler.C.

#define TRIG_TOL   1.e-12
 

Definition at line 25 of file kepler.C.


Function Documentation

local int check_trig_limit ( kepler * k,
real & c,
char * s )
 

Definition at line 106 of file kepler.C.

void clear_kepler_fast_flag ( )
 

Definition at line 702 of file kepler.C.

local real cos_to_sin ( real c )
 

Definition at line 66 of file kepler.C.

void dyn_to_child_kepler ( dyn * com,
real t )
 

Definition at line 422 of file kepler.C.

Referenced by adddouble(), delete_double(), and new_child_kepler().

void dyn_to_kepler ( dyn * com,
real t )
 

Definition at line 404 of file kepler.C.

Referenced by hdyn_to_kepler(), and new_kepler().

local void err_or_warn ( char * s )
 

Definition at line 149 of file kepler.C.

Referenced by keplerseq(), and keplershypeq().

local void fast_keplerseq ( real M,
real e,
real tol,
real & s,
real & c ) [inline]
 

Definition at line 710 of file kepler.C.

bool get_kepler_fast_flag ( )
 

Definition at line 703 of file kepler.C.

real get_kepler_fast_tol ( )
 

Definition at line 708 of file kepler.C.

int kepler_tolerance ( )
 

Definition at line 101 of file kepler.C.

local int keplerseq ( real mean_an,
real ecc,
real & true_an,
real & ecc_an )
 

Definition at line 176 of file kepler.C.

local int keplershypeq ( real mean_an,
real ecc,
real & true_an,
real & ecc_an )
 

Definition at line 259 of file kepler.C.

local real keplerspareq ( real mean_an,
real & true_an )
 

Definition at line 335 of file kepler.C.

void make_standard_kepler ( kepler & k,
real t,
real mass,
real energy,
real eccentricity,
real q,
real mean_anomaly,
int align_axis )
 

Definition at line 1528 of file kepler.C.

Referenced by add_dynamics(), init_to_sdyn3(), initialize_root(), make_new_kepler_to_dyn(), randomize_created_binary(), split_particle(), and update_kepler_from_binary_evolution().

void new_child_kepler ( dyn * com,
real t,
real circ_limit )
 

Definition at line 391 of file kepler.C.

Referenced by adddouble(), bin_recursive(), delete_double(), and print_binaries().

void new_kepler ( dyn * com,
real t )
 

Definition at line 381 of file kepler.C.

Referenced by new_kepler().

void reset_kepler_fast_tol ( )
 

Definition at line 707 of file kepler.C.

void set_kepler_fast_flag ( bool flag )
 

Definition at line 700 of file kepler.C.

Referenced by create_interpolated_tree2().

void set_kepler_fast_tol ( real tol )
 

Definition at line 705 of file kepler.C.

void set_kepler_print_trig_warning ( bool p )
 

Definition at line 96 of file kepler.C.

void set_kepler_tolerance ( int i )
 

Definition at line 89 of file kepler.C.

Referenced by init_to_sdyn3(), sys_stats(), and update_node().

void set_random_orientation ( kepler & k,
int planar )
 

Definition at line 1557 of file kepler.C.

Referenced by add_dynamics(), make_new_kepler_to_dyn(), randomize_created_binary(), and split_particle().


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