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

dstar_to_dyn.h

00001 /*
00002  *    star_to_dyn.h: transformation function from stellar evolution
00003  *                   package to dynamical package.
00004  *
00005  *.....................................................................
00006  *    version 1:  Aug 1996   Simon F. Portegies Zwart
00007  *    version 2:
00008  *...................................................................
00009  *     This file includes:
00010  *  1) Transformation routines from stellar evolution to n-body dynamcs.
00011  *
00012  *....................................................................
00013  */
00014 
00015 #ifndef     _DSTAR_TO_DYN
00016 #   define  _DSTAR_TO_DYN
00017 
00018 #include  "starbase.h"
00019 #include  "hdyn.h"
00020 
00021 #include "stdinc.h"
00022 #include "constants.h"
00023 
00024 #include "double_star.h"
00025 #include "sstar_to_dyn.h"
00026 
00027 /*-----------------------------------------------------------------------------
00028  *  dstar_to_dyn  --  
00029  *-----------------------------------------------------------------------------
00030  */
00031 
00032 void update_dynamical_part_of_binary(dyn*);
00033 void update_evolution_part_of_binary(dyn*);
00034 bool check_binary_consistency(dyn*);
00035 void rearrange_the_binary_dynamics_tree(dyn*);
00036 void rearrange_binaries_and_update_tree(dyn*);
00037 //bool evolve_the_stellar_system(dyn*, real); 
00038 
00039 double_state make_state(dyn* b);
00040 
00041 void dstar_stats(dyn*, bool mass_function = true, 
00042                  vec center = 0, 
00043                  bool verbose = true);
00044 
00045 void print_binary_dstars(dyn*);
00046 
00047 void adddouble(hdyn * b, real time=0, binary_type=Detached, 
00048                bool random_initialization=false, 
00049                real a_min=1, real a_max=1.e+6,
00050                real e_min=0, real e_max=1) ;
00051 
00052 void update_dyn_from_binary_evolution(dyn* the_binary_node,
00053                                       dyn* d1=NULL, real dm1_fast=0,
00054                                                     real dm2_fast=0);
00055 
00056 #endif          // _DSTAR_TO_DYN
00057 
00058 
00059 
00060 

Generated on Wed Jul 20 12:43:36 2005 for Starlab by  doxygen 1.4.3