aboutsummaryrefslogtreecommitdiff
path: root/src/Write2D.c
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-07-27 14:27:11 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>1999-07-27 14:27:11 +0000
commitb348885599abe93e7a8bf04af7d3fe6901a3fd21 (patch)
tree66ae15c3c931240d07eb8905c5a1bfb9f943d791 /src/Write2D.c
parentcb2f5114143c6f34de57f72d0f26d74f2508940d (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/Write2D.c')
-rw-r--r--src/Write2D.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Write2D.c b/src/Write2D.c
index 27ecfd9..65f1d4d 100644
--- a/src/Write2D.c
+++ b/src/Write2D.c
@@ -133,13 +133,13 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias)
char *msg;
IEEEfile_2D = (IOFile *) malloc (3 * sizeof (IOFile));
- len = strlen (ioUtilGH->outpfx_2D) + strlen (alias);
+ len = strlen (myGH->outpfx_2D) + strlen (alias);
fname = (char *) malloc (len + 20);
msg = (char *) malloc (len + 20 + 40);
assert (IEEEfile_2D && fname && msg);
/* Create files (open mode "w") */
- sprintf (fname, "%s/%s_2d_yz.ieee", ioUtilGH->outpfx_2D, alias);
+ sprintf (fname, "%s/%s_2d_yz.ieee", myGH->outpfx_2D, alias);
IEEEfile_2D [0] = IEEEopen (fname, "w");
if (! IOisValid (IEEEfile_2D [0])) {
sprintf (msg, "Cannot open output file %s", fname);
@@ -147,7 +147,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias)
return;
}
- sprintf (fname, "%s/%s_2d_xz.ieee", ioUtilGH->outpfx_2D, alias);
+ sprintf (fname, "%s/%s_2d_xz.ieee", myGH->outpfx_2D, alias);
IEEEfile_2D [1] = IEEEopen (fname, "w");
if (! IOisValid (IEEEfile_2D [1])) {
sprintf (msg, "Cannot open output file %s", fname);
@@ -155,7 +155,7 @@ void IOFlexIO_Write2D (cGH *GH, int index, const char *alias)
return;
}
- sprintf (fname, "%s/%s_2d_xy.ieee", ioUtilGH->outpfx_2D, alias);
+ sprintf (fname, "%s/%s_2d_xy.ieee", myGH->outpfx_2D, alias);
IEEEfile_2D [2] = IEEEopen (fname, "w");
if (! IOisValid (IEEEfile_2D [2])) {
sprintf (msg, "Cannot open output file %s", fname);