diff options
author | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2002-05-28 14:56:08 +0000 |
---|---|---|
committer | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2002-05-28 14:56:08 +0000 |
commit | c598dce209035ce668f4ce2f060eab95aaa7fa6d (patch) | |
tree | ee30c4f14e1343b664bfcd198a89672e0483dd6c /src/Startup.c | |
parent | 7e207cbc5995c6a8ea3e4748335b0f4d09d66797 (diff) |
Allow the 'out_every' option in option strings to set the output frequency
for individual variables.
Allow hyperslab options 'origin', 'direction', 'extent', and 'downsample'
in option strings to specify hyperslab selections for individual variables.
You also need to update CactusBase/IOUtil now.
See the thornguide for a description and an example.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@91 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index b359f81..e6b2775 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -195,7 +195,10 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH) myGH = (ioStreamedHDF5GH *) malloc (sizeof (ioStreamedHDF5GH)); myGH->requests = (ioRequest **) calloc (numvars, sizeof (ioRequest *)); myGH->out_last = (int *) malloc (numvars * sizeof (int)); + myGH->advertised_filename = NULL; + myGH->out_vars = strdup (""); + myGH->out_every_default = out_every - 1; for (i = 0; i < numvars; i++) { |