diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 1999-10-26 23:40:17 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 1999-10-26 23:40:17 +0000 |
commit | 5b469bd4a94f2cba17ca871a39548eb671dd1da6 (patch) | |
tree | 91410deff70a126f690bc06739562a832e496161 /src/Write.c | |
parent | 9d52c908265b3b9fcd1ffe8d469095503b051276 (diff) |
Tidying up several things:
- use ParseVarsForOutput() instead of InitIONum() for parsing the out_vars
parameter
- decide which output dir shall be used by using CCTK_ParameterInfo()
rather than comparing it with its old "outdir" default value
- outdirs are always created now (not only if out_vars was non-empty)
because IO methods might be invoked via CCTK_OutputVarAs() also
- some variables renamed for better readability
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@14 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src/Write.c')
-rw-r--r-- | src/Write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Write.c b/src/Write.c index f42dbfb..c2c9531 100644 --- a/src/Write.c +++ b/src/Write.c @@ -45,7 +45,7 @@ void IOBasic_Write (cGH *GH, int index, const char *alias) } else openmode = "a"; - sprintf (fname, "%s/%s.tl", myGH->outpfx_Scalar, alias); + sprintf (fname, "%s/%s.tl", myGH->outdirScalar, alias); file = fopen(fname,openmode); if (*openmode == 'w') { |