1 |
< |
/* Copyright (c) 1996 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid $Id$ */ |
2 |
|
/* |
3 |
< |
* data.h - header file for routines which interpolate data. |
3 |
> |
* Header for data file loading and computation routines. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_DATA_H_ |
6 |
+ |
#define _RAD_DATA_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
|
|
11 |
+ |
|
12 |
+ |
#include "copyright.h" |
13 |
+ |
|
14 |
|
#define MAXDDIM 5 /* maximum data dimensions */ |
15 |
|
|
16 |
|
#define DATATYPE float /* single precision to save space */ |
32 |
|
struct datarray *next; /* next array in list */ |
33 |
|
} DATARRAY; /* a data array */ |
34 |
|
|
30 |
– |
extern DATARRAY *getdata(), *getpict(); |
35 |
|
|
36 |
< |
extern double datavalue(); |
36 |
> |
extern DATARRAY *getdata(char *dname); |
37 |
> |
extern DATARRAY *getpict(char *pname); |
38 |
> |
extern void freedata(DATARRAY *dta); |
39 |
> |
extern double datavalue(DATARRAY *dp, double *pt); |
40 |
> |
|
41 |
> |
|
42 |
> |
#ifdef __cplusplus |
43 |
> |
} |
44 |
> |
#endif |
45 |
> |
#endif /* _RAD_DATA_H_ */ |
46 |
> |
|