00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _SPZDCH_STAR
00017 # define _SPZDCH_STAR
00018
00019 #include "single_star.h"
00020
00021
00022
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
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
00052 real zeta_thermal();
00053 real gyration_radius_sq();
00054
00055 };
00056 #endif // _SPZDCH_STAR
00057
00058