diff options
Diffstat (limited to 'src/Write1D.c')
-rw-r--r-- | src/Write1D.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Write1D.c b/src/Write1D.c index 73cf413..40a44ba 100644 --- a/src/Write1D.c +++ b/src/Write1D.c @@ -98,7 +98,7 @@ static void WriteData (int vtype, It writes to ASCII files suitable for gnuplot and xgraph. A header telling the physical time prefixes the output data. @enddesc - @calls Hyperslab_DefineGlobalMappingByIndex + @calls Hyperslab_GlobalMappingByIndex Hyperslab_FreeMapping Hyperslab_GetList OpenFile @@ -332,14 +332,12 @@ fprintf (stderr, "%d/%d\n", origin[dir], extent); memset (origin, 0, gdata.dim * sizeof (CCTK_INT)); } - mapping = Hyperslab_DefineGlobalMappingByIndex (GH, vindex, 1, - direction, - origin, - &extent, - NULL, /* downsample */ - -1, /* table handle */ - NULL /* conversion fn */, - &hsize); + mapping = Hyperslab_GlobalMappingByIndex (GH, vindex, 1, + direction, origin, &extent, + NULL, /* downsample */ + -1, /* table handle */ + NULL /* conversion fn */, + &hsize); if (mapping < 0) { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, |