Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

stdfunc.C File Reference

#include "stdfunc.h"

Go to the source code of this file.

Defines

#define NR_END   1
#define FREE_ARG   char*

Functions

real tf2_energy_diss (const real eta, const stellar_type type)
real tf3_energy_diss (const real eta, const stellar_type type)
real lineair_interpolation (const real x, const real x1, const real x2, const real y1, const real y2)
real post_sn_cm_velocity (const real a_init, const real e_init, const real separation, const real m1_0, const real m2_0, const real m1, const real m2, const real v_kick, const real theta, const real phi)
real post_sn_semi_major_axis (const real a_init, const real e_init, const real separation, const real m1_0, const real m2_0, const real m1, const real m2, const real v_kick, const real theta, const real phi)
real post_sn_eccentricity (const real a_init, const real e_init, const real separation, const real m1_0, const real m2_0, const real m1, const real m2, const real v_kick, const real theta, const real phi)
real kinetic_energy (const real mass, const real velocity)
real potential_energy (const real sep, const real m1, const real m2)
real velocity_at_infinity (const real vel, const real sep, const real m_prim, const real m_sec)
real random_angle (const real min, const real max)
real random_eccentric_anomaly (const real ecc)
real eccentric_anomaly (const real ecc, const real mean_anomaly)
real random_separation (const real semi, const real ecc)
real maxwellian (const real velocity, const real v_disp)
real random_maxwellian_velocity (const real v_disp)
real paczynski_distribution (const real velocity, const real v_disp)
real random_paczynski_velocity (const real v_disp)
real cross_section (const real m_prim, const real m_sec, const real r_min, const real v_rel)
real eddington_limit (const real radius, const real dt, const real mu)
real gf_velocity_distribution_extremum (const real m_prim, const real m_sec, const real r_min, const real v_disp)
real gravitational_focussed_velocity (const real m_prim, const real m_sec, const real r_min, const real vel, const real v_disp)
real random_focussed_maxwellian_velocity (const real m_prim, const real m_sec, const real r_min, const real v_disp, const real v_esc)
real gauss (const real velocity, const real v_disp)
real gauss ()
real turn_off_mass (const real time)
real main_sequence_time (const real mass)
real zero_age_main_sequnece_radius (const real mass)
real roche_radius (const real a, const real m1, const real m2)
void polint (real xa[], real ya[], int n, real x, real *y, real *dy)
void free_vector (real *v, long nl, long nh)
realvector (long nl, long nh)
void fool (char *message)
real kelvin_helmholds_timescale (const real mass, const real radius, const real luminosity)
real nucleair_evolution_timescale (const real mass, const real luminosity)
real dynamic_timescale (const real mass, const real radius)


Define Documentation

#define FREE_ARG   char*
 

Definition at line 751 of file stdfunc.C.

#define NR_END   1
 

Definition at line 750 of file stdfunc.C.


Function Documentation

real cross_section ( const real m_prim,
const real m_sec,
const real r_min,
const real v_rel )
 

Definition at line 439 of file stdfunc.C.

real dynamic_timescale ( const real mass,
const real radius )
 

Definition at line 794 of file stdfunc.C.

real eccentric_anomaly ( const real ecc,
const real mean_anomaly )
 

Definition at line 306 of file stdfunc.C.

real eddington_limit ( const real radius,
const real dt,
const real mu )
 

Definition at line 450 of file stdfunc.C.

void fool ( char * message )
 

Definition at line 769 of file stdfunc.C.

void free_vector ( real * v,
long nl,
long nh )
 

Definition at line 753 of file stdfunc.C.

Referenced by polint().

real gauss ( )
 

Definition at line 541 of file stdfunc.C.

Referenced by random_maxwellian_velocity(), and smaf_Duquenoy_Mayor().

real gauss ( const real velocity,
const real v_disp )
 

Definition at line 533 of file stdfunc.C.

real gf_velocity_distribution_extremum ( const real m_prim,
const real m_sec,
const real r_min,
const real v_disp )
 

Definition at line 456 of file stdfunc.C.

Referenced by random_focussed_maxwellian_velocity().

real gravitational_focussed_velocity ( const real m_prim,
const real m_sec,
const real r_min,
const real vel,
const real v_disp )
 

Definition at line 477 of file stdfunc.C.

Referenced by random_focussed_maxwellian_velocity().

real kelvin_helmholds_timescale ( const real mass,
const real radius,
const real luminosity )
 

Definition at line 776 of file stdfunc.C.

real kinetic_energy ( const real mass,
const real velocity )
 

Definition at line 221 of file stdfunc.C.

Referenced by velocity_at_infinity().

real lineair_interpolation ( const real x,
const real x1,
const real x2,
const real y1,
const real y2 )
 

Definition at line 133 of file stdfunc.C.

Referenced by kingfit().

real main_sequence_time ( const real mass )
 

Definition at line 605 of file stdfunc.C.

Referenced by next_output_time(), and turn_off_mass().

real maxwellian ( const real velocity,
const real v_disp )
 

Definition at line 377 of file stdfunc.C.

real nucleair_evolution_timescale ( const real mass,
const real luminosity )
 

Definition at line 782 of file stdfunc.C.

real paczynski_distribution ( const real velocity,
const real v_disp )
 

Definition at line 404 of file stdfunc.C.

void polint ( real xa[],
real ya[],
int n,
real x,
real * y,
real * dy )
 

Definition at line 713 of file stdfunc.C.

real post_sn_cm_velocity ( const real a_init,
const real e_init,
const real separation,
const real m1_0,
const real m2_0,
const real m1,
const real m2,
const real v_kick,
const real theta,
const real phi )
 

Definition at line 149 of file stdfunc.C.

real post_sn_eccentricity ( const real a_init,
const real e_init,
const real separation,
const real m1_0,
const real m2_0,
const real m1,
const real m2,
const real v_kick,
const real theta,
const real phi )
 

Definition at line 200 of file stdfunc.C.

real post_sn_semi_major_axis ( const real a_init,
const real e_init,
const real separation,
const real m1_0,
const real m2_0,
const real m1,
const real m2,
const real v_kick,
const real theta,
const real phi )
 

Definition at line 175 of file stdfunc.C.

real potential_energy ( const real sep,
const real m1,
const real m2 )
 

Definition at line 226 of file stdfunc.C.

Referenced by scatter3(), and velocity_at_infinity().

real random_angle ( const real min,
const real max )
 

Definition at line 248 of file stdfunc.C.

Referenced by random_eccentric_anomaly().

real random_eccentric_anomaly ( const real ecc )
 

Definition at line 258 of file stdfunc.C.

Referenced by random_separation().

real random_focussed_maxwellian_velocity ( const real m_prim,
const real m_sec,
const real r_min,
const real v_disp,
const real v_esc )
 

Definition at line 494 of file stdfunc.C.

real random_maxwellian_velocity ( const real v_disp )
 

Definition at line 388 of file stdfunc.C.

real random_paczynski_velocity ( const real v_disp )
 

Definition at line 415 of file stdfunc.C.

real random_separation ( const real semi,
const real ecc )
 

Definition at line 341 of file stdfunc.C.

real roche_radius ( const real a,
const real m1,
const real m2 )
 

Definition at line 644 of file stdfunc.C.

Referenced by determine_semi_major_axis_limits().

real tf2_energy_diss ( const real eta,
const stellar_type type )
 

Definition at line 13 of file stdfunc.C.

Referenced by apply_tidal_dissipation().

real tf3_energy_diss ( const real eta,
const stellar_type type )
 

Definition at line 74 of file stdfunc.C.

Referenced by apply_tidal_dissipation().

real turn_off_mass ( const real time )
 

Definition at line 581 of file stdfunc.C.

Referenced by make_profile(), next_output_time(), print_sstar_time_scales(), and xhrdplot().

real* vector ( long nl,
long nh )
 

Definition at line 759 of file stdfunc.C.

Referenced by KICK_VELOCITY(), YR(), add_tidal(), check_and_initialize(), force_by_grape(), getvq(), initialize_root(), interpolate_pos(), main(), mksphere(), polint(), pos_sum(), set_orientation(), set_random_orientation(), set_vector_from_string(), shift_cm(), top_level_kinetic_energy(), total_angular_momentum(), update_binary_sister(), vcirc(), and vel_sum().

real velocity_at_infinity ( const real vel,
const real sep,
const real m_prim,
const real m_sec )
 

Definition at line 233 of file stdfunc.C.

real zero_age_main_sequnece_radius ( const real mass )
 

Definition at line 615 of file stdfunc.C.

Referenced by determine_semi_major_axis_limits(), and mkrandom_binary().


Generated at Sun Feb 24 09:57:31 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001