| 19 |
|
typedef struct { |
| 20 |
|
float vsum; /* DSF sum */ |
| 21 |
|
unsigned int nval; /* number of values in sum */ |
| 22 |
– |
unsigned short crad; /* radius (coded angle) */ |
| 22 |
|
} GRIDVAL; /* grid value */ |
| 23 |
|
|
| 24 |
|
typedef struct { |
| 105 |
|
extern char *progname; |
| 106 |
|
|
| 107 |
|
/* get theta value in degrees [0,180) range */ |
| 108 |
< |
#define get_theta180(v) ((180./M_PI)*acos((v)[2])) |
| 108 |
> |
#define get_theta180(v) ((180./M_PI)*Acos((v)[2])) |
| 109 |
|
/* get phi value in degrees, [0,360) range */ |
| 110 |
|
#define get_phi360(v) ((180./M_PI)*atan2((v)[1],(v)[0]) + 360.*((v)[1]<0)) |
| 111 |
|
|
| 184 |
|
|
| 185 |
|
/* Find edge(s) for interpolating the given vector, applying symmetry */ |
| 186 |
|
extern int get_interp(MIGRATION *miga[3], FVECT invec); |
| 187 |
+ |
|
| 188 |
+ |
/* Advect and allocate new RBF along edge (internal call) */ |
| 189 |
+ |
extern RBFNODE * e_advect_rbf(const MIGRATION *mig, |
| 190 |
+ |
const FVECT invec, int lobe_lim); |
| 191 |
|
|
| 192 |
|
/* Partially advect between recorded incident angles and allocate new RBF */ |
| 193 |
|
extern RBFNODE * advect_rbf(const FVECT invec, int lobe_lim); |