diff options
author | allen <allen@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2001-03-11 16:02:25 +0000 |
---|---|---|
committer | allen <allen@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2001-03-11 16:02:25 +0000 |
commit | be308dcf2e8ddc6fa47dfb42dea10ad04a5e9a2f (patch) | |
tree | a5e517b0894ea2bbe15cc1e3ac5064cc639deafe | |
parent | 329aba492072e88a54de1d1bf770a500e14e3729 (diff) |
CCTK_CHAR -> CCTK_BYTE and LOGICAL -> BOOLEAN
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@21 38c3d835-c875-442e-b0fe-21c19ce1d001
-rw-r--r-- | param.ccl | 12 | ||||
-rw-r--r-- | src/DumpVar.c | 6 |
2 files changed, 9 insertions, 9 deletions
@@ -54,9 +54,9 @@ USES INT out_every ################ # various things ################ -USES LOGICAL verbose -USES LOGICAL out3D_datestamp -USES LOGICAL out3D_parameters +USES BOOLEAN verbose +USES BOOLEAN out3D_datestamp +USES BOOLEAN out3D_parameters ####################### @@ -65,11 +65,11 @@ USES LOGICAL out3D_parameters USES KEYWORD out3D_mode USES INT out3D_procs -USES LOGICAL out3D_septimefiles -USES LOGICAL out3D_unchunked +USES BOOLEAN out3D_septimefiles +USES BOOLEAN out3D_unchunked ############################################## # Downsampling parameters (only for 3D output) ############################################## -USES LOGICAL out3D_single +USES BOOLEAN out3D_single diff --git a/src/DumpVar.c b/src/DumpVar.c index f5b319a..b378bb4 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -26,7 +26,7 @@ void IOPanda_getDumpData (cGH *GH, int index, int timelevel, void **outme, ioGH *ioUtilGH; CCTK_REAL4 *single_ptr; CCTK_REAL *real_ptr; - CCTK_CHAR *char_ptr; + CCTK_BYTE *char_ptr; CCTK_INT *int_ptr; pGExtras *extras; void *data = CCTK_VarDataPtrI (GH, timelevel, index); @@ -148,11 +148,11 @@ void IOPanda_getDumpData (cGH *GH, int index, int timelevel, void **outme, l = 0; switch (CCTK_VarTypeI (index)) { case CCTK_VARIABLE_CHAR: - char_ptr = (CCTK_CHAR *) *outme; + char_ptr = (CCTK_BYTE *) *outme; for (k = start [2]; k <= end [2]; k += ioUtilGH->downsample [2]) for (j = start [1]; j <= end [1]; j += ioUtilGH->downsample [1]) for (i = start [0]; i <= end [0]; i += ioUtilGH->downsample [0]) - char_ptr [l++] = ((CCTK_CHAR *) data) [DATINDEX (extras, i, j, k)]; + char_ptr [l++] = ((CCTK_BYTE *) data) [DATINDEX (extras, i, j, k)]; break; case CCTK_VARIABLE_INT: |