Commit d1e540de authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Set constant pointer to const.

parent cf1f5134
......@@ -171,18 +171,17 @@ struct Variable
/* FFT */
void fft_set(double *trigs, long *ifax, long n);
void fc2gp(double * trig, long * ifax, double * fc, double * gp, long nlat, long nlon,
long nlev, long nfc);
void gp2fc(double *trig, long *ifax, const double * gp, double * fc, long nlat, long nlon, long nlev, long nfc);
void fc2gp(double *trig, const long *ifax, double *fc, double *gp, long nlat, long nlon, long nlev, long nfc);
void gp2fc(double *trig, const long *ifax, const double *gp, double *fc, long nlat, long nlon, long nlev, long nfc);
/* Convert Spectral Array to new resolution */
void sp2sp(double *arrayIn, long truncIn, double *arrayOut, long truncOut);
void sp2fc(const double *sa, double *fa, const double *poli, long nlev, long nlat, long nfc, long nt);
void fc2sp(double *fa, double *sa, double *poli, long klev, long nlat, long nfc, long nt);
void fc2sp(double *fa, double *sa, const double *poli, long klev, long nlat, long nfc, long nt);
/* Physc */
void dv2ps(const double * div, double * pot, long nlev, long ntr);
void dv2uv(double *d, double *o, double *u, double *v, double *f, double *g, long nt, long nsp, long nlev);
void dv2uv(const double *d, const double *o, double *u, double *v, double *f, double *g, long nt, long nsp, long nlev);
void scaluv(double *fu, double rclat[], long nlat, long lot);
void uv2dv(double *fu, double *fv, double *sd, double *sv, double *pol2, double *pol3, long klev, long nlat, long nt);
void geninx(long ntr, double *f, double *g);
......
......@@ -22,7 +22,7 @@
void geninx(long ntr, double *f, double *g);
void scaluv(double *fu, double *rclat, int nlat, int lot);
void uv2dv(double *fu, double *fv, double *sd, double *sv, double *pol2, double *pol3, long klev, long nlat, long nt);
void dv2uv(double *d, double *o, double *u, double *v, double *f, double *g, long nt, long nsp, long nlev);
void dv2uv(const double *d, const double *o, double *u, double *v, double *f, double *g, long nt, long nsp, long nlev);
void after_legini_full(long ntr, long nlat, double *restrict poli, double *restrict pold, double *restrict pdev,
double *restrict pol2, double *restrict pol3, double *restrict coslat);
......
......@@ -66,6 +66,6 @@ void grid2four(SPTRANS *sptrans, int gridIDin, double *arrayIn, int gridIDout, d
void spec2spec(int gridIDin, double *arrayIn, int gridIDout, double *arrayOut);
void speccut(int gridIDin, double *arrayIn, double *arrayOut, int *waves);
void spcut(double *arrayIn, double *arrayOut, long ntr, int *waves);
void spcut(double *arrayIn, double *arrayOut, long ntr, const int *waves);
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment