Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

hdyn_unpert.C File Reference

#include "hdyn.h"
#include <star/dstar_to_kira.h>
#include "hdyn_inline.C"

Go to the source code of this file.

Defines

#define USE_DT_PERTURBERS   true
#define SEP_EPSILON   0.01
#define SEP_FACTOR   (1.0 + SEP_EPSILON)
#define OUTSIDE_SEMI(sep, sma)    ((SEP_FACTOR)*(sep) > (sma))
#define KEP_OUTSIDE_SEMI(k)
#define UNKNOWN_STATUS   0
#define STABLE_OUTER   1
#define STABLE_INNER   2
#define NOT_APPROACHING   3
#define PERICENTER_REFLECTION   4
#define FULL_MERGER   5
#define CONTINUE_MERGER   6
#define PERTURBED   7
#define MULTIPLE_CM   8
#define UNPERTURBED_MULTIPLE_COMPONENT   9
#define UNKNOWN_PERTURBERS   10
#define DEFERRED   11
#define NOT_MULTIPLE   0
#define FULL_MULTIPLE   1
#define APOCENTER_REFLECTION   2
#define NEAR_MULTIPLE_FAC   1.2

Functions

local real get_energy (hdyn *b, real &separation)
local real get_semi (hdyn *bcm)
local real get_period (real mass, real sma)
local void print_found_multiple (hdyn *b, bool real_multiple, kepler &outer, real inner_semi1, real inner_semi2, real mass1, real mass2)
local void print_startup_message (hdyn *b, int type, bool new_kep)
local void print_binary_data (hdyn *bi)
local bool is_multiple (hdyn *b)
local real dt_overshoot (hdyn *b)
local real dt_perturbers (hdyn *b)
local void check_perturbers (hdyn *b)
void set_allow_unperturbed (hdyn *b, bool value)
void set_allow_multiples (hdyn *b, bool value)
void toggle_unperturbed (hdyn *b, int level)
void print_unperturbed_options (hdyn *b)
local xreal latest_time (xreal t_min, xreal t_max, real dtblock, real ma_min, real ma_max, real mean_anomaly, real mean_motion)


Define Documentation

#define APOCENTER_REFLECTION   2
 

Definition at line 208 of file hdyn_unpert.C.

#define CONTINUE_MERGER   6
 

Definition at line 184 of file hdyn_unpert.C.

#define DEFERRED   11
 

Definition at line 189 of file hdyn_unpert.C.

#define FULL_MERGER   5
 

Definition at line 183 of file hdyn_unpert.C.

#define FULL_MULTIPLE   1
 

Definition at line 207 of file hdyn_unpert.C.

#define KEP_OUTSIDE_SEMI( k )
 

Value:

    ((SEP_FACTOR)*((k).get_separation()) > ((k).get_semi_major_axis()))

Definition at line 88 of file hdyn_unpert.C.

#define MULTIPLE_CM   8
 

Definition at line 186 of file hdyn_unpert.C.

#define NEAR_MULTIPLE_FAC   1.2
 

Definition at line 859 of file hdyn_unpert.C.

#define NOT_APPROACHING   3
 

Definition at line 181 of file hdyn_unpert.C.

#define NOT_MULTIPLE   0
 

Definition at line 206 of file hdyn_unpert.C.

#define OUTSIDE_SEMI( sep, sma )   ((SEP_FACTOR)*(sep) > (sma))
 

Definition at line 84 of file hdyn_unpert.C.

#define PERICENTER_REFLECTION   4
 

Definition at line 182 of file hdyn_unpert.C.

#define PERTURBED   7
 

Definition at line 185 of file hdyn_unpert.C.

#define SEP_EPSILON   0.01
 

Definition at line 81 of file hdyn_unpert.C.

#define SEP_FACTOR   (1.0 + SEP_EPSILON)
 

Definition at line 82 of file hdyn_unpert.C.

#define STABLE_INNER   2
 

Definition at line 180 of file hdyn_unpert.C.

#define STABLE_OUTER   1
 

Definition at line 179 of file hdyn_unpert.C.

#define UNKNOWN_PERTURBERS   10
 

Definition at line 188 of file hdyn_unpert.C.

#define UNKNOWN_STATUS   0
 

Definition at line 178 of file hdyn_unpert.C.

#define UNPERTURBED_MULTIPLE_COMPONENT   9
 

Definition at line 187 of file hdyn_unpert.C.

#define USE_DT_PERTURBERS   true
 

Definition at line 40 of file hdyn_unpert.C.


Function Documentation

local void check_perturbers ( hdyn * b )
 

Definition at line 469 of file hdyn_unpert.C.

local real dt_overshoot ( hdyn * b ) [inline]
 

Definition at line 390 of file hdyn_unpert.C.

local real dt_perturbers ( hdyn * b ) [inline]
 

Definition at line 406 of file hdyn_unpert.C.

Referenced by check_perturbers().

local real get_energy ( hdyn * b,
real & separation ) [inline]
 

Definition at line 218 of file hdyn_unpert.C.

Referenced by get_semi().

local real get_period ( real mass,
real sma ) [inline]
 

Definition at line 257 of file hdyn_unpert.C.

local real get_semi ( hdyn * bcm ) [inline]
 

Definition at line 231 of file hdyn_unpert.C.

Referenced by NEAR_MULTIPLE_FAC().

local bool is_multiple ( hdyn * b ) [inline]
 

Definition at line 381 of file hdyn_unpert.C.

local xreal latest_time ( xreal t_min,
xreal t_max,
real dtblock,
real ma_min,
real ma_max,
real mean_anomaly,
real mean_motion )
 

Definition at line 2079 of file hdyn_unpert.C.

local void print_binary_data ( hdyn * bi ) [inline]
 

Definition at line 367 of file hdyn_unpert.C.

local void print_found_multiple ( hdyn * b,
bool real_multiple,
kepler & outer,
real inner_semi1,
real inner_semi2,
real mass1,
real mass2 ) [inline]
 

Definition at line 265 of file hdyn_unpert.C.

Referenced by NEAR_MULTIPLE_FAC().

local void print_startup_message ( hdyn * b,
int type,
bool new_kep ) [inline]
 

Definition at line 318 of file hdyn_unpert.C.

void print_unperturbed_options ( hdyn * b )
 

Definition at line 526 of file hdyn_unpert.C.

Referenced by kira_initialize(), and modify_params().

void set_allow_multiples ( hdyn * b,
bool value )
 

Definition at line 501 of file hdyn_unpert.C.

Referenced by kira_initialize().

void set_allow_unperturbed ( hdyn * b,
bool value )
 

Definition at line 493 of file hdyn_unpert.C.

Referenced by kira_initialize().

void toggle_unperturbed ( hdyn * b,
int level )
 

Definition at line 509 of file hdyn_unpert.C.

Referenced by kira_initialize(), and modify_params().


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