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

examples: renamed TIME_VARIABLE to TSTEP_INSTANT

parent 76b3d786
......@@ -36,8 +36,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
instID = institutDef( 252, 0, NULL, NULL );
vlistID = vlistCreate();
varID = vlistDefVar(vlistID, gridID, zaxisID, TIME_VARIABLE);
varID = vlistDefVar(vlistID, gridID, zaxisID, TSTEP_INSTANT);
vlistDefVarEnsemble( vlistID, varID, 1, 2, 3);
......
......@@ -36,8 +36,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -54,10 +54,10 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE);
varID3 = vlistDefVar(vlistID, gridID, zaxisID3, TIME_VARIABLE);
varID4 = vlistDefVar(vlistID, gridID, zaxisID4, TIME_VARIABLE);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID3 = vlistDefVar(vlistID, gridID, zaxisID3, TSTEP_INSTANT);
varID4 = vlistDefVar(vlistID, gridID, zaxisID4, TSTEP_INSTANT);
// Define the variable names
vlistDefVarName(vlistID, varID1, "sp");
......
......@@ -29,8 +29,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -37,8 +37,8 @@ int run(int irun)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARIABLE);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARIABLE);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
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