| 2 |
|
|
| 3 |
|
/* SCCSid "$SunId$ SGI" */ |
| 4 |
|
|
| 5 |
– |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
| 6 |
– |
|
| 7 |
– |
/* SCCSid "$SunId$ SGI" */ |
| 8 |
– |
|
| 5 |
|
/* |
| 6 |
|
* Header file for rholo program |
| 7 |
|
*/ |
| 17 |
|
int2 hd; /* holodeck section (first) */ |
| 18 |
|
int4 bi; /* beam index (second) */ |
| 19 |
|
int4 nr; /* number of rays (third) */ |
| 20 |
+ |
int4 nc; /* number calculated (fourth) */ |
| 21 |
|
RAYVAL ra[RPACKSIZ]; /* ray values (fourth) */ |
| 22 |
|
float *offset; /* offset array if !vbool(OBSTRUCTIONS) */ |
| 23 |
|
struct packet *next; /* next in packet list */ |
| 27 |
|
int2 hd; /* holodeck section (first) */ |
| 28 |
|
int4 bi; /* beam index (second) */ |
| 29 |
|
int4 nr; /* number of rays (third) */ |
| 30 |
+ |
int4 nc; /* number calculated (fourth) */ |
| 31 |
|
} PACKHEAD; /* followed by ray values */ |
| 32 |
|
|
| 33 |
|
#define packsiz(nr) (sizeof(PACKHEAD)+(nr)*sizeof(RAYVAL)) |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
/* bundle set requests */ |
| 68 |
< |
#define BS_NEW 0 /* replace current set with new one */ |
| 69 |
< |
#define BS_ADD 1 /* add to current set */ |
| 70 |
< |
#define BS_DEL 2 /* delete from current set */ |
| 68 |
> |
#define BS_NEW 1 /* replace current set with new one */ |
| 69 |
> |
#define BS_ADD 2 /* add to current set */ |
| 70 |
> |
#define BS_ADJ 3 /* adjust current set quantities */ |
| 71 |
> |
#define BS_DEL 4 /* delete from current set */ |
| 72 |
|
|
| 73 |
|
extern char *progname; /* our program name */ |
| 74 |
|
extern char *hdkfile; /* holodeck file name */ |
| 75 |
|
extern char froot[]; /* root file name */ |
| 76 |
|
|
| 77 |
+ |
extern char *outdev; /* output device name */ |
| 78 |
+ |
|
| 79 |
|
extern int nowarn; /* turn warnings off? */ |
| 80 |
|
|
| 80 |
– |
extern double expval; /* global exposure value */ |
| 81 |
– |
|
| 81 |
|
extern int ncprocs; /* number of compute processes */ |
| 82 |
+ |
|
| 83 |
+ |
extern double expval; /* global exposure value */ |
| 84 |
|
|
| 85 |
|
extern time_t starttime; /* time we got started */ |
| 86 |
|
extern time_t endtime; /* time we should end by */ |