diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-27 14:27:11 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-27 14:27:11 +0000 |
commit | b348885599abe93e7a8bf04af7d3fe6901a3fd21 (patch) | |
tree | 66ae15c3c931240d07eb8905c5a1bfb9f943d791 /src/Write3D.c | |
parent | cb2f5114143c6f34de57f72d0f26d74f2508940d (diff) |
Use the outpfx_[2-3]D variables from own GH extensions instead of the ones
from IOUtil
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@22 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Write3D.c')
-rw-r--r-- | src/Write3D.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Write3D.c b/src/Write3D.c index cdf9704..30a2e51 100644 --- a/src/Write3D.c +++ b/src/Write3D.c @@ -417,7 +417,7 @@ IEEEfile_3D_t *IOFlexIO_Get3Dfile (cGH *GH, const char *alias, int *isNewFile) /* If necessary create the output directory */ if (myproc == 0) { - sprintf (createdir, "mkdir -p %s/%s_3d", ioUtilGH->outpfx_3D, alias); + sprintf (createdir, "mkdir -p %s/%s_3d", myGH->outpfx_3D, alias); if (output_verbose) { printf ("Creating output directory with command\n %s\n", createdir); @@ -444,12 +444,12 @@ IEEEfile_3D_t *IOFlexIO_Get3Dfile (cGH *GH, const char *alias, int *isNewFile) IEEEfile_3D = (IEEEfile_3D_t *) malloc (sizeof (IEEEfile_3D_t)); - IEEEfile_3D->filename = (char *) malloc (strlen (ioUtilGH->outpfx_3D) + + IEEEfile_3D->filename = (char *) malloc (strlen (myGH->outpfx_3D) + strlen (extradir) + strlen (alias) + strlen (extra) + 10); - sprintf (IEEEfile_3D->filename, "%s/%s%s_3d%s.ieee", ioUtilGH->outpfx_3D, + sprintf (IEEEfile_3D->filename, "%s/%s%s_3d%s.ieee", myGH->outpfx_3D, extradir, alias, extra); /* no need to store file info if used only once */ |