Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

xstarplot22.C File Reference

#include "worldline.h"
#include "xstarplot.h"
#include "dyn_util.h"

Go to the source code of this file.

Defines

#define DYN   pdyn
#define DYNPTR   pdynptr
#define MIN_DELAY   1.0
#define DTFAC   1.41421356237309514547
#define INSTR_FREQ_MAX   32
#define INSTR_FREQ_FAC   64
#define EPS   1.e-12

Functions

local void set_base_point_size (DYN *b, float rel_point_size)
local float get_point_size (DYN *bi)
local void draw_star_point (unsigned long win, float r, float s, float actual_point_size, bool f_flag)
local void draw_links_2d (DYN *b, float r, float s)
local void draw_links_3d (DYN *b, float r, float s)
local int clean_index (DYN *b)
local void plot_star (DYN *bi, float r, float s, float actual_point_size, int f_flag)
local int plot_all_stars (DYN *b, int f_flag)
local int type (int which)
local int subtype (int which)
local void set_temp_buffer (int which)
local void set_diag_item (int which, char *id, int label_on_left, int x1, int x2, int y)
local void initialize_dialog (int xorigin, int yorigin)
local void make_relative_to_root (DYN *b)
local void update_diag_item (int which)
local void get_diag_string (int which)
local void read_diag_item (int which, float &f)
local void read_diag_item (int which, int &i)
local void read_diag_item (int which, char &c)
local void update_from_dialog (bool r_flag)
local void show_static_rotation (DYN *b, bool f_flag)
local char check_for_input (unsigned long win, DYN *b, real &t, real &dt, bool &E_flag, bool r_flag, bool f_flag, bool eod)
void xstarplot22 (DYN *b, float scale, int k, int d, float lmax, int point_mode, float rel_point_size, real &t, real &dt, float D, int ce, bool &E_flag, bool r_flag, bool f_flag, bool t_flag, int init_flag, int &step_mode, bool eod)
local void print_worldlines (worldbundleptr wh[], int nh)
local void print_escapes (worldbundleptr wh[], int nh)
 main (int argc, char **argv)

Variables

unsigned long win
unsigned long dia
unsigned long instr
unsigned long colwin
unsigned long c_energy [10]
unsigned long c_index [N_COLORS+1]
int init_status = 0
float xmin
float xmax
float ymin
float ymax
float base_point_size
float lmax3d
float origin [3]
int win_size
int point_scale_mode = 0
int kx = 1
int ky = 2
int kproj = 3
int origin_star = -1
int nodes = 0
int links = 0
int root = 0
int multiples = 0
int unperturbed = 0
float theta = 0.33
float costheta = cos(0.33)
float sintheta = sin(0.33)
float dtheta = 0.03
float phi = 0.33
float cosphi = cos(0.33)
float sinphi = sin(0.33)
real local_offset [3]
float delay_time = MIN_DELAY
float r_factor = 1.0
char graph3d = 1
char track = 0
char cenergy = 0
char temp_buffer [255]


Define Documentation

#define DTFAC   1.41421356237309514547
 

#define DYN   pdyn
 

Definition at line 70 of file xstarplot22.C.

#define DYNPTR   pdynptr
 

Definition at line 71 of file xstarplot22.C.

#define EPS   1.e-12
 

#define INSTR_FREQ_FAC   64
 

Definition at line 1581 of file xstarplot22.C.

#define INSTR_FREQ_MAX   32
 

Definition at line 1580 of file xstarplot22.C.

#define MIN_DELAY   1.0
 

Definition at line 96 of file xstarplot22.C.


Function Documentation

local char check_for_input ( unsigned long win,
DYN * b,
real & t,
real & dt,
bool & E_flag,
bool r_flag,
bool f_flag,
bool eod )
 

Definition at line 971 of file xstarplot22.C.

local int clean_index ( DYN * b )
 

Definition at line 273 of file xstarplot22.C.

Referenced by plot_star(), plot_stars(), show_static_rotation(), xstarplot(), xstarplot2(), and xstarplot22().

local void draw_links_2d ( DYN * b,
float r,
float s )
 

Definition at line 202 of file xstarplot22.C.

local void draw_links_3d ( DYN * b,
float r,
float s )
 

Definition at line 256 of file xstarplot22.C.

local void draw_star_point ( unsigned long win,
float r,
float s,
float actual_point_size,
bool f_flag )
 

Definition at line 182 of file xstarplot22.C.

local void get_diag_string ( int which )
 

Definition at line 763 of file xstarplot22.C.

local float get_point_size ( DYN * bi )
 

Definition at line 161 of file xstarplot22.C.

local void initialize_dialog ( int xorigin,
int yorigin )
 

Definition at line 629 of file xstarplot22.C.

main ( int argc,
char ** argv )
 

Definition at line 1865 of file xstarplot22.C.

local void make_relative_to_root ( DYN * b )
 

Definition at line 746 of file xstarplot22.C.

local int plot_all_stars ( DYN * b,
int f_flag )
 

Definition at line 442 of file xstarplot22.C.

Referenced by xstarplot2(), and xstarplot22().

local void plot_star ( DYN * bi,
float r,
float s,
float actual_point_size,
int f_flag )
 

Definition at line 289 of file xstarplot22.C.

Referenced by plot_all_stars(), and plot_stars().

local void print_escapes ( worldbundleptr wh[],
int nh )
 

Definition at line 1835 of file xstarplot22.C.

local void print_worldlines ( worldbundleptr wh[],
int nh )
 

Definition at line 1827 of file xstarplot22.C.

local void read_diag_item ( int which,
char & c )
 

Definition at line 782 of file xstarplot22.C.

local void read_diag_item ( int which,
int & i )
 

Definition at line 775 of file xstarplot22.C.

local void read_diag_item ( int which,
float & f )
 

Definition at line 768 of file xstarplot22.C.

local void set_base_point_size ( DYN * b,
float rel_point_size )
 

Definition at line 110 of file xstarplot22.C.

local void set_diag_item ( int which,
char * id,
int label_on_left,
int x1,
int x2,
int y )
 

Definition at line 598 of file xstarplot22.C.

local void set_temp_buffer ( int which )
 

Definition at line 559 of file xstarplot22.C.

local void show_static_rotation ( DYN * b,
bool f_flag )
 

Definition at line 871 of file xstarplot22.C.

local int subtype ( int which )
 

Definition at line 551 of file xstarplot22.C.

local int type ( int which )
 

Definition at line 543 of file xstarplot22.C.

local void update_diag_item ( int which )
 

Definition at line 756 of file xstarplot22.C.

local void update_from_dialog ( bool b_flag )
 

Definition at line 789 of file xstarplot22.C.

void xstarplot22 ( DYN * b,
float scale,
int k,
int d,
float lmax,
int point_mode,
float rel_point_size,
real & t,
real & dt,
float D,
int ce,
bool & E_flag,
bool r_flag,
bool f_flag,
bool t_flag,
int init_flag,
int & step_mode,
bool eod )
 

Definition at line 1585 of file xstarplot22.C.

Referenced by main().


Variable Documentation

float base_point_size
 

Definition at line 85 of file xstarplot22.C.

unsigned long c_energy[10]
 

Definition at line 79 of file xstarplot22.C.

unsigned long c_index[N_COLORS+1]
 

Definition at line 79 of file xstarplot22.C.

char cenergy = 0
 

Definition at line 101 of file xstarplot22.C.

unsigned long colwin
 

Definition at line 78 of file xstarplot22.C.

float cosphi = cos(0.33)
 

Definition at line 93 of file xstarplot22.C.

float costheta = cos(0.33)
 

Definition at line 92 of file xstarplot22.C.

float delay_time = MIN_DELAY
 

Definition at line 97 of file xstarplot22.C.

unsigned long dia
 

Definition at line 78 of file xstarplot22.C.

float dtheta = 0.03
 

Definition at line 92 of file xstarplot22.C.

char graph3d = 1
 

Definition at line 101 of file xstarplot22.C.

int init_status = 0
 

Definition at line 80 of file xstarplot22.C.

unsigned long instr
 

Definition at line 78 of file xstarplot22.C.

int kproj = 3
 

Definition at line 89 of file xstarplot22.C.

int kx = 1
 

Definition at line 89 of file xstarplot22.C.

int ky = 2
 

Definition at line 89 of file xstarplot22.C.

int links = 0
 

Definition at line 91 of file xstarplot22.C.

float lmax3d
 

Definition at line 85 of file xstarplot22.C.

real local_offset[3]
 

Definition at line 94 of file xstarplot22.C.

int multiples = 0
 

Definition at line 91 of file xstarplot22.C.

int nodes = 0
 

Definition at line 91 of file xstarplot22.C.

float origin[3]
 

Definition at line 85 of file xstarplot22.C.

int origin_star = -1
 

Definition at line 90 of file xstarplot22.C.

float phi = 0.33
 

Definition at line 93 of file xstarplot22.C.

int point_scale_mode = 0
 

Definition at line 88 of file xstarplot22.C.

float r_factor = 1.0
 

Definition at line 99 of file xstarplot22.C.

int root = 0
 

Definition at line 91 of file xstarplot22.C.

float sinphi = sin(0.33)
 

Definition at line 93 of file xstarplot22.C.

float sintheta = sin(0.33)
 

Definition at line 92 of file xstarplot22.C.

char temp_buffer[255]
 

Definition at line 103 of file xstarplot22.C.

float theta = 0.33
 

Definition at line 92 of file xstarplot22.C.

char track = 0
 

Definition at line 101 of file xstarplot22.C.

int unperturbed = 0
 

Definition at line 91 of file xstarplot22.C.

unsigned long win
 

Definition at line 78 of file xstarplot22.C.

int win_size
 

Definition at line 87 of file xstarplot22.C.

float xmax
 

Definition at line 85 of file xstarplot22.C.

float xmin
 

Definition at line 85 of file xstarplot22.C.

float ymax
 

Definition at line 85 of file xstarplot22.C.

float ymin
 

Definition at line 85 of file xstarplot22.C.


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