diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Write.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Write.c b/src/Write.c index d23e3ee..3c9cabe 100644 --- a/src/Write.c +++ b/src/Write.c @@ -37,7 +37,7 @@ static void WriteData (const cGH *GH, int vindex, const char *alias, int dim, @desc Writes the slices of a variable into separate Jpeg files. @enddesc - @calls Hyperslab_DefineGlobalMappingByIndex + @calls Hyperslab_GlobalMappingByIndex Hyperslab_FreeMapping Hyperslab_GetList OpenFile @@ -154,9 +154,9 @@ int IOJpeg_Write (const cGH *GH, CCTK_INT vindex, const char *alias) memset (direction, 0, sizeof (direction)); direction[dir_i] = direction[gdata.dim + dir_j] = 1; - mapping = Hyperslab_DefineGlobalMappingByIndex (GH, vindex, 2, - direction, origin, extent, - NULL, -1, NULL, hsize); + mapping = Hyperslab_GlobalMappingByIndex (GH, vindex, 2, + direction, origin, extent, + NULL, -1, NULL, hsize); if (mapping < 0) { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, |