1 | /* trac.h: parameters for traceurs.c */ |
---|
2 | |
---|
3 | #include <stdio.h> |
---|
4 | #include <stdlib.h> |
---|
5 | #include <string.h> |
---|
6 | #include <math.h> |
---|
7 | #include "dim_c.h" |
---|
8 | |
---|
9 | #define R0 (float)(2575.0) /* Titan's radius */ |
---|
10 | |
---|
11 | #define THETA (float)(0.501) |
---|
12 | #ifndef M_PI |
---|
13 | #define M_PI (float)(3.14159265358979323846e0) |
---|
14 | #endif |
---|
15 | #define RAD (float)(M_PI / 180.0e0) |
---|
16 | #ifndef max |
---|
17 | #define max(a,b) ((a)>(b)?(a):(b)) |
---|
18 | #define min(a,b) ((a)<=(b)?(a):(b)) |
---|
19 | #endif |
---|
20 | |
---|
21 | float *rm1d( int, int ); |
---|
22 | float **rm2d( int, int, int, int ); |
---|
23 | float ***rm3d( int, int, int, int, int, int ); |
---|
24 | float ****rm4d( int, int, int, int, int, int ); |
---|
25 | double *dm1d( int, int ); |
---|
26 | double **dm2d( int, int, int, int ); |
---|
27 | double ***dm3d( int, int, int, int, int, int ); |
---|
28 | double ****dm4d( int, int, int, int, int, int ); |
---|
29 | void frm1d( float *, int ); |
---|
30 | void frm2d( float **, int, int, int ); |
---|
31 | void frm3d( float ***, int, int, int, int, int ); |
---|
32 | void fdm1d( double *, int ); |
---|
33 | void fdm2d( double **, int, int, int ); |
---|
34 | void fdm3d( double ***, int, int, int, int, int ); |
---|
35 | int *im1d( int, int ); |
---|
36 | int **im2d( int, int, int, int ); |
---|
37 | int ***im3d( int, int, int, int, int, int ); |
---|