#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | STARLAB_VERSION "2.1" |
#define | false 0 |
#define | FALSE 0 |
#define | true 1 |
#define | TRUE 1 |
#define | local static |
#define | streq(x, y) (strcmp((x), (y)) == 0) |
#define | PI 3.14159265358979323846 |
#define | TWO_PI (2 * (PI)) |
#define | HALF_PI (0.5 * (PI)) |
#define | ONE_THIRD 0.33333333333333333333 |
#define | ONE_SIXTH 0.16666666666666666667 |
#define | VERY_LARGE_NUMBER 1e300 |
#define | pos_angle(phi) ((phi) - TWO_PI * floor((phi)/TWO_PI )) |
#define | sym_angle(phi) ((phi) - TWO_PI * floor(((phi)+PI)/TWO_PI )) |
Typedefs | |
typedef double | real |
typedef int | bool |
|
Definition at line 65 of file c_stdinc.h. |
|
Definition at line 104 of file c_stdinc.h. |
|
Definition at line 106 of file c_stdinc.h. |
|
Definition at line 105 of file c_stdinc.h. |
|
Definition at line 101 of file c_stdinc.h. |
|
Definition at line 40 of file c_stdinc.h. |
|
Definition at line 67 of file c_stdinc.h. |
|
Definition at line 103 of file c_stdinc.h. |
|
Definition at line 108 of file c_stdinc.h. |
|
Definition at line 64 of file c_stdinc.h. |
|
Definition at line 75 of file c_stdinc.h. |
|
Definition at line 134 of file c_stdinc.h. |
|
Definition at line 87 of file c_stdinc.h. Referenced by T_DEBUG(), check_and_initialize(), dump_node_list_for(), get_chapter(), get_timestep_function_ptr(), interpolate_pos(), kira_initialize(), main(), node_with_name(), pgetopt(), print_close_encounter(), print_startup_message(), read_bundle(), and timestep_function_ptr(). |
|
Definition at line 135 of file c_stdinc.h. Referenced by fast_keplerseq(), keplerseq(), and latest_time(). |
|
Definition at line 66 of file c_stdinc.h. |
|
Definition at line 60 of file c_stdinc.h. |
|
Definition at line 53 of file c_stdinc.h. |