Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

c_stdinc.h File Reference

#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


Define Documentation

#define FALSE   0
 

Definition at line 65 of file c_stdinc.h.

#define HALF_PI   (0.5 * (PI))
 

Definition at line 104 of file c_stdinc.h.

#define ONE_SIXTH   0.16666666666666666667
 

Definition at line 106 of file c_stdinc.h.

#define ONE_THIRD   0.33333333333333333333
 

Definition at line 105 of file c_stdinc.h.

#define PI   3.14159265358979323846
 

Definition at line 101 of file c_stdinc.h.

#define STARLAB_VERSION   "2.1"
 

Definition at line 40 of file c_stdinc.h.

#define TRUE   1
 

Definition at line 67 of file c_stdinc.h.

#define TWO_PI   (2 * (PI))
 

Definition at line 103 of file c_stdinc.h.

#define VERY_LARGE_NUMBER   1e300
 

Definition at line 108 of file c_stdinc.h.

#define false   0
 

Definition at line 64 of file c_stdinc.h.

#define local   static
 

Definition at line 75 of file c_stdinc.h.

#define pos_angle( phi )   ((phi) - TWO_PI * floor((phi)/TWO_PI ))
 

Definition at line 134 of file c_stdinc.h.

#define streq( x, y )   (strcmp((x), (y)) == 0)
 

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().

#define sym_angle( phi )   ((phi) - TWO_PI * floor(((phi)+PI)/TWO_PI ))
 

Definition at line 135 of file c_stdinc.h.

Referenced by fast_keplerseq(), keplerseq(), and latest_time().

#define true   1
 

Definition at line 66 of file c_stdinc.h.


Typedef Documentation

typedef int bool
 

Definition at line 60 of file c_stdinc.h.

typedef double real
 

Definition at line 53 of file c_stdinc.h.


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