#include <time.h>
#include "stdinc.h"
Go to the source code of this file.
Defines | |
#define | MAXNUM 2147483647.0 |
#define | IA 16807 |
#define | IM 2147483647 |
#define | AM (1.0/IM) |
#define | IQ 127773 |
#define | IR 2836 |
#define | MASK 123459876 |
#define | IA 16807 |
#define | IM 2147483647 |
#define | AM (1.0/IM) |
#define | IQ 127773 |
#define | IR 2836 |
#define | NTAB 32 |
#define | NDIV (1+(IM-1)/NTAB) |
#define | EPS 1.e-14 |
#define | RNMX (1.0-EPS) |
#define | IM1 2147483563 |
#define | IM2 2147483399 |
#define | AM (1.0/IM1) |
#define | IMM1 (IM1-1) |
#define | IA1 40014 |
#define | IA2 40692 |
#define | IQ1 53668 |
#define | IQ2 52774 |
#define | IR1 12211 |
#define | IR2 3791 |
#define | NTAB 32 |
#define | NDIV (1+IMM1/NTAB) |
#define | EPS 1.e-14 |
#define | RNMX (1.0-EPS) |
#define | BIG 10 |
Functions | |
int | srandinter (int seed, int iter) |
int | get_initial_seed () |
int | get_rand_seed () |
int | get_current_seed () |
int | get_n_rand () |
real | randunit () |
real | ran0 (int &idum) |
real | ran1 (int &idum) |
real | ran2 (int &idum) |
real | randinter (real a, real b) |
real | gausrand (real mean, real sdev) |
|
Definition at line 236 of file randinter.C. |
|
Definition at line 236 of file randinter.C. |
|
Definition at line 236 of file randinter.C. |
|
Definition at line 329 of file randinter.C. |
|
Definition at line 246 of file randinter.C. |
|
Definition at line 246 of file randinter.C. |
|
Definition at line 178 of file randinter.C. |
|
Definition at line 178 of file randinter.C. |
|
Definition at line 238 of file randinter.C. |
|
Definition at line 239 of file randinter.C. |
|
Definition at line 179 of file randinter.C. |
|
Definition at line 179 of file randinter.C. |
|
Definition at line 234 of file randinter.C. |
|
Definition at line 235 of file randinter.C. |
|
Definition at line 237 of file randinter.C. |
|
Definition at line 181 of file randinter.C. |
|
Definition at line 181 of file randinter.C. |
|
Definition at line 240 of file randinter.C. |
|
Definition at line 241 of file randinter.C. |
|
Definition at line 182 of file randinter.C. |
|
Definition at line 182 of file randinter.C. |
|
Definition at line 242 of file randinter.C. |
|
Definition at line 243 of file randinter.C. |
|
Definition at line 152 of file randinter.C. |
|
Definition at line 125 of file randinter.C. |
|
Definition at line 245 of file randinter.C. |
|
Definition at line 245 of file randinter.C. |
|
Definition at line 244 of file randinter.C. |
|
Definition at line 244 of file randinter.C. |
|
Definition at line 247 of file randinter.C. |
|
Definition at line 247 of file randinter.C. |
|
Definition at line 331 of file randinter.C. Referenced by prof_to_init(). |
|
Definition at line 105 of file randinter.C. |
|
Definition at line 91 of file randinter.C. Referenced by c_print_initial_random_parameters(), main(), make_standard_init(), slave_part_of_experiment(), and summarize_scattering_initial(). |
|
Definition at line 112 of file randinter.C. Referenced by c_print_initial_random_parameters(), get_sigma(), main(), make_standard_init(), master_process(), single_scatter_init(), and slave_part_of_experiment(). |
|
Definition at line 98 of file randinter.C. |
|
Definition at line 154 of file randinter.C. |
|
Definition at line 188 of file randinter.C. |
|
Definition at line 249 of file randinter.C. Referenced by randinter(). |
|
Definition at line 312 of file randinter.C. Referenced by KICK_VELOCITY(), Kroupa_Tout_Gilmore(), YR(), add_dynamics(), adddouble(), c_randinter(), eccf_Thermal_Distribution(), f_randinter(), gausrand(), gauss(), general_power_law(), get_mass(), get_random_mass_ratio(), initialize_root(), main(), make_new_kepler_to_dyn(), mf_GdeMarchi(), mf_Miller_Scalo(), mf_Scalo(), mkscat(), mksecondary(), mksphere(), prof_to_init(), qf_Hogeveen(), random_angle(), random_focussed_maxwellian_velocity(), random_initial_conditions(), random_paczynski_velocity(), randomize_angles(), randomize_created_binary(), set_random_orientation(), single_scatter_init(), smaf_Eggleton(), split_particle(), and srandinter(). |
|
Definition at line 127 of file randinter.C. |
|
Definition at line 72 of file randinter.C. Referenced by c_srandinter(), f_srandinter(), get_sigma(), kira_initialize(), main(), mkscat(), slave_part_of_experiment(), and starlab_main(). |