aboutsummaryrefslogtreecommitdiff
path: root/src/Write2D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Write2D.c')
-rw-r--r--src/Write2D.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Write2D.c b/src/Write2D.c
index 4101c90..31f0390 100644
--- a/src/Write2D.c
+++ b/src/Write2D.c
@@ -108,9 +108,9 @@ int IOFlexIO_Write2D (const cGH *GH, int vindex, const char *alias)
myproc = CCTK_MyProc (GH);
/* get the appropriate FlexIO data type */
- if (groupinfo.vartype == CCTK_VARIABLE_CHAR)
+ if (groupinfo.vartype == CCTK_VARIABLE_BYTE)
{
- ioflex_type = FLEXIO_CHAR;
+ ioflex_type = FLEXIO_BYTE;
}
else if (groupinfo.vartype == CCTK_VARIABLE_INT)
{
@@ -180,7 +180,7 @@ int IOFlexIO_Write2D (const cGH *GH, int vindex, const char *alias)
buffer[0] = 0;
CCTK_ParameterFilename (sizeof (buffer), buffer);
FLEXIO_ERROR (IOwriteAttribute (IEEEfile_2D[dir],
- "parameter file", FLEXIO_CHAR,
+ "parameter file", CHAR,
strlen (buffer) + 1, buffer));
}
if (CCTK_Equals (out_fileinfo, "creation date") ||
@@ -192,7 +192,7 @@ int IOFlexIO_Write2D (const cGH *GH, int vindex, const char *alias)
buffer[len-1] = ' ';
Util_CurrentTime (sizeof (buffer) - len, buffer + len);
FLEXIO_ERROR (IOwriteAttribute (IEEEfile_2D[dir],
- "creation date", FLEXIO_CHAR,
+ "creation date", CHAR,
strlen (buffer) + 1, buffer));
}
}
@@ -324,7 +324,7 @@ int IOFlexIO_Write2D (const cGH *GH, int vindex, const char *alias)
delta_attr[0] = GH->cctk_delta_space[dir_i];
delta_attr[1] = GH->cctk_delta_space[dir_j];
- FLEXIO_ERROR (IOwriteAttribute (IEEEfile_2D[dir], "name", FLEXIO_CHAR,
+ FLEXIO_ERROR (IOwriteAttribute (IEEEfile_2D[dir], "name", CHAR,
strlen (fullname) + 1, fullname));
itmp = GH->cctk_iteration;
FLEXIO_ERROR (IOwriteAttribute (IEEEfile_2D[dir], "iteration",