aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-01-17 15:32:28 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-01-17 15:32:28 +0000
commite1b79ac32aadd14dcdc095d2bee50ef2e59e25c2 (patch)
tree3264af8a88f0d6fa42d939380f55a10b5ee0548d /src
parentac2894606d1e5effd5e80d37e9944c103ec2b327 (diff)
Dump parameters only once per file.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@75 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src')
-rw-r--r--src/Write3D.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Write3D.c b/src/Write3D.c
index fc49f5a..149d0c3 100644
--- a/src/Write3D.c
+++ b/src/Write3D.c
@@ -211,10 +211,11 @@ void IOFlexIO_Write3D (cGH *GH, int index, const char *alias)
*/
if (IEEEfile_3D) {
/* output parameters necessary for filereader datafiles */
- if (isNewFile)
+ if (isNewFile) {
IOFlexIO_DumpGHExtensions (GH, IEEEfile_3D->iofile);
- if (out3D_parameters)
- IOFlexIO_DumpParams (GH, IEEEfile_3D->iofile);
+ if (out3D_parameters)
+ IOFlexIO_DumpParams (GH, IEEEfile_3D->iofile);
+ }
/* close the file */
IOFlexIO_Write3D_closeFile (GH, IEEEfile_3D);
}