00001 #ifndef STDFUNC
00002 # define STDFUNC
00003
00004 #include "stdinc.h"
00005 #include "constants.h"
00006 #include "star_support.h"
00007
00008
00009
00010
00011 real tf2_energy_diss(const real eta, const stellar_type);
00012 real tf3_energy_diss(const real eta, const stellar_type);
00013 real lineair_interpolation(const real, const real, const real,
00014 const real, const real);
00015
00016
00017 real post_sn_cm_velocity(const real, const real, const real,
00018 const real, const real, const real,
00019 const real,
00020 const real, const real, const real);
00021
00022 real post_sn_semi_major_axis(const real, const real, const real,
00023 const real, const real, const real,
00024 const real,
00025 const real, const real, const real);
00026 real post_sn_eccentricity(const real, const real, const real,
00027 const real, const real, const real,
00028 const real,
00029 const real, const real, const real);
00030 real random_angle(const real, const real);
00031 real eccentric_anomaly(const real, const real);
00032 real random_eccentric_anomaly(const real);
00033 real random_separation(const real, const real);
00034 real paczynski_distribution(const real, const real);
00035 real random_paczynski_velocity(const real);
00036 real maxwellian(const real, const real);
00037 real random_maxwellian_velocity(const real);
00038 real gravitational_focussed_velocity(const real, const real,
00039 const real, const real,
00040 const real);
00041 real gf_velocity_distribution_extremum(const real, const real,
00042 const real, const real);
00043
00044 real random_focussed_maxwellian_velocity(const real, const real,
00045 const real, const real,
00046 const real);
00047 real gauss(const real, const real);
00048 real gauss();
00049 real cross_section(const real, const real, const real, const real);
00050
00051 real eddington_limit(const real radius,
00052 const real dt,
00053 const real mu=1);
00054
00055 real kinetic_energy(const real, const real);
00056 real potential_energy(const real, const real, const real);
00057 real velocity_at_infinity(const real,
00058 const real,
00059 const real,
00060 const real);
00061 void fool(char *);
00062
00063
00064 real turn_off_mass(const real);
00065 real main_sequence_time(const real);
00066 real zero_age_main_sequnece_radius(const real);
00067 real kelvin_helmholds_timescale(const real, const real, const real);
00068 real nucleair_evolution_timescale(const real, const real);
00069 real dynamic_timescale(const real, const real);
00070
00071 real roche_radius(const real, const real, const real);
00072
00073
00074 #endif