Skip to content
Snippets Groups Projects
Commit 72887407 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Make variable contents variable in example program.

parent db2dec63
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ static void modelRun(MPI_Comm commModel)
int start = 0, chunk = varSize[i][j];
#endif
for(int k = 0; k < chunk; k++)
var[k] = 3.3;
var[k] = 3.3 * (double)(k + start);
streamWriteVar(streamID[i], varID[i][j], var, nmiss );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment