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

SPZDCH_star.h

00001 /*
00002  * SPZDCH_star.h: derived class for evolution of sero radius stars 
00003  *                which lose mass proportional to wind_constant.
00004  *                This definition is used for the ski-jump problem.
00005  *
00006  *.....................................................................
00007  *    version 1:  Jan 1999   Simon F. Portegies Zwart
00008  *    version 2:
00009  *...................................................................
00010  *     This file includes:
00011  *  1) definition of class SPZDCH_star
00012  *
00013  *....................................................................
00014  */
00015 
00016 #ifndef   _SPZDCH_STAR 
00017 #   define _SPZDCH_STAR 
00018 
00019 #include "single_star.h"
00020 
00021 /*-----------------------------------------------------------------------------
00022  *  SPZDCH_star  --  a derived class for element evolution.
00023  *-----------------------------------------------------------------------------
00024  */
00025 class SPZDCH_star : public single_star {
00026       private:
00027 
00028       public :
00029 
00030          SPZDCH_star(node* n) : single_star(n) {}
00031          ~SPZDCH_star() {}
00032 
00033          
00034          stellar_type get_element_type() {return SPZDCH_Star;}
00035          bool hydrogen_envelope_star() {return false;}
00036 
00037          void instantaneous_element();
00038          void evolve_element(const real);
00039          void update();
00040          void update_wind_constant(const real);
00041          void stellar_wind(const real dt);
00042 
00043 //            Mass transfer utilities.
00044          star* subtrac_mass_from_donor(const real, real&);
00045          real accretion_limit(const real, const real);
00046 
00047          void adjust_accretor_age(const real, const bool);
00048          void adjust_next_update_age();
00049          star* reduce_mass(const real);
00050 
00051 //              Stability rourines.
00052          real zeta_thermal();
00053          real gyration_radius_sq();
00054 
00055     };
00056 #endif          // _SPZDCH_STAR 
00057 
00058 

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