Commit 7453790c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed globs pointers to reference.

parent f42d2354
This diff is collapsed.
......@@ -129,17 +129,17 @@ struct AfterControl
struct Variable
{
int needed0; /* var needed for process */
int needed; /* var needed for process */
int selected; /* var selected for output */
int detected; /* var detected in input */
int comp; /* compute var if selected and not detected */
int needed0; // var needed for process
int needed; // var needed for process
int selected; // var selected for output
int detected; // var detected in input
int comp; // compute var if selected and not detected
int sfit;
int hlev;
int plev;
int ivarID;
int ovarID; /* 1st variable ID */
int ovarID2; /* 2nd variable ID used for variance */
int ovarID; // 1st variable ID
int ovarID2; // 2nd variable ID used for variance
int tableID;
int igridID;
int ogridID;
......@@ -218,27 +218,27 @@ struct Variable
void after_read_vct(const char *vctfile, double **vct, int *nvct);
void after_gp2sp(AfterControl *globs, struct Variable *vars, int ccode);
void after_gp2sp(const AfterControl &globs, struct Variable *vars, int ccode);
void after_GP2FC(double *gp, double *fc, long nlat, long nlon, long nlev, long nfc);
void after_FC2GP(double *fc, double *gp, long nlat, long nlon, long nlev, long nfc);
void after_FCrh2FCsh(AfterControl *globs, struct Variable *vars);
void after_SPuv2SPdv(AfterControl *globs, struct Variable *vars);
void after_FCsh2FCrh(AfterControl *globs, struct Variable *vars);
void after_FCrh2FCsh(const AfterControl &globs, struct Variable *vars);
void after_SPuv2SPdv(const AfterControl &globs, struct Variable *vars);
void after_FCsh2FCrh(const AfterControl &globs, struct Variable *vars);
void after_EchamCompGP(AfterControl *globs, struct Variable *vars);
void after_processPL(AfterControl *globs, struct Variable *vars);
void after_processML(AfterControl *globs, struct Variable *vars);
void after_EchamCompGP(const AfterControl &globs, struct Variable *vars);
void after_processPL(AfterControl &globs, struct Variable *vars);
void after_processML(AfterControl &globs, struct Variable *vars);
void after_AnalysisAddRecord(AfterControl *globs, struct Variable *vars, int code, int gridID, int zaxisID, int levelID,
void after_AnalysisAddRecord(const AfterControl *globs, struct Variable *vars, int code, int gridID, int zaxisID, int levelID,
size_t nmiss);
double *after_get_dataptr(struct Variable *vars, int code, int gridID, int zaxisID, int levelID);
void after_EchamAddRecord(AfterControl *globs, struct Variable *vars, int code, int gridID, int zaxisID, int levelID,
void after_EchamAddRecord(const AfterControl *globs, struct Variable *vars, int code, int gridID, int zaxisID, int levelID,
size_t nmiss);
void after_AnalysisDependencies(struct Variable *vars, int ncodes);
void after_EchamDependencies(struct Variable *vars, int ncodes, int type, int source);
void after_legini_setup(AfterControl *globs, struct Variable *vars);
void after_legini_setup(AfterControl &globs, struct Variable *vars);
template <typename... Args>
void
......
This diff is collapsed.
Markdown is supported
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