diff options
Diffstat (limited to 'src/Write3D.c')
-rw-r--r-- | src/Write3D.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Write3D.c b/src/Write3D.c index 6a20e2d..8db2f23 100644 --- a/src/Write3D.c +++ b/src/Write3D.c @@ -90,7 +90,7 @@ static void WriteData (int vtype, @desc Writes the 3D volume of a variable into a gnuplot ASCII file. @enddesc - @calls Hyperslab_DefineGlobalMappingByIndex + @calls Hyperslab_GlobalMappingByIndex Hyperslab_FreeMapping Hyperslab_GetList OpenFile @@ -213,14 +213,12 @@ int IOASCII_Write3D (const cGH *GH, int vindex, const char *alias) } /* get the hyperslab mapping */ - mapping = Hyperslab_DefineGlobalMappingByIndex (GH, vindex, 3, - direction, - origin, - extent, - NULL, /* downsample */ - -1, /* table handle */ - NULL /* conversion fn */, - hsize); + mapping = Hyperslab_GlobalMappingByIndex (GH, vindex, 3, + direction, origin, extent, + NULL, /* downsample */ + -1, /* table handle */ + NULL /* conversion fn */, + hsize); if (mapping < 0) { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, |