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

static_star.h

00001 /*
00002  * static_star.h: derived class for evolution of zero 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 static_star
00012  *
00013  *....................................................................
00014  */
00015 
00016 #ifndef   _static_star 
00017 #   define _static_star 
00018 
00019 #include "single_star.h"
00020 
00021 /*-----------------------------------------------------------------------------
00022  *  static_star  --  a derived class for element evolution.
00023  *-----------------------------------------------------------------------------
00024  */
00025 class static_star : public single_star {
00026       private:
00027 
00028       public :
00029 
00030          static_star(node* n) : single_star(n) {}
00031          ~static_star() {}
00032 
00033          
00034          stellar_type get_element_type() {return Static_Star;}
00035          bool hydrogen_envelope_star() {return false;}
00036 
00037          void instantaneous_element();
00038          void evolve_element(const real);
00039          void update();
00040       
00041          real gyration_radius_sq() {return 0;}
00042 
00043     };
00044 #endif          // _static_star 
00045 
00046 

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