diff options
author | lanfer <lanfer@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-08-01 19:01:00 +0000 |
---|---|---|
committer | lanfer <lanfer@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-08-01 19:01:00 +0000 |
commit | 4b25e98415938d02f6ab5738c4842ac74fa5f6d4 (patch) | |
tree | 11c80dbd94de47a0f786caa7fa5ea546ee6bd14f /src/Startup.c | |
parent | 2131180644740cc1e36a2ca0cd9fca479077c960 (diff) |
steerable Hyperslab capabilities for Streamed HDF5
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@11 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Startup.c b/src/Startup.c index 650570f..bd1cdb9 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -151,9 +151,10 @@ static void *StreamedHDF5_SetupGH (tFleshConfig *config, int convergence_level, numvars = CCTK_NumVars (); newGH = (StreamedHDF5GH *) malloc (sizeof (StreamedHDF5GH)); - newGH->do_output = (char *) malloc (numvars * sizeof (char)); - newGH->out_last = (int *) malloc (numvars * sizeof (int)); - newGH->socket = socket; + newGH->do_output = (char *) malloc (numvars * sizeof (char)); + newGH->geo_output = (StreamGeo_t*) malloc (numvars * sizeof (StreamGeo_t)); + newGH->out_last = (int *) malloc (numvars * sizeof (int)); + newGH->socket = socket; /* save the original error printing routine and its argument */ CACTUS_IOHDF5_ERROR (H5Eget_auto (&newGH->printErrorFn, @@ -197,7 +198,7 @@ static int StreamedHDF5_InitGH (cGH *GH) myGH->out_every = out_every > 0 ? out_every : -1; if (outHDF5_every > 0) myGH->out_every = outHDF5_every; - IOUtil_ParseVarsForOutput (out_vars, myGH->do_output); + ParseVarsForOutput(myGH, out_vars); for (i = 0; i < CCTK_NumVars (); i++) myGH->out_last [i] = -1; |