aboutsummaryrefslogtreecommitdiff
path: root/src/Write3D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Write3D.c')
-rw-r--r--src/Write3D.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Write3D.c b/src/Write3D.c
index 52fe554..998143a 100644
--- a/src/Write3D.c
+++ b/src/Write3D.c
@@ -278,22 +278,6 @@ int IOASCII_Write3D (const cGH *GH, int vindex, const char *alias)
{
if (num_returned_hslabs == num_requested_hslabs)
{
- if (have_coords)
- {
- /* get the staggering offset for the coordinates */
- for (i = 0; i < 3; i++)
- {
- offset[i] = 0.5 * GH->cctk_delta_space[i] *
- CCTK_StaggerDirIndex (i, gdata.stagtype);
- }
- for (i = 0; i < total_hsize; i++)
- {
- ((CCTK_REAL *) hdata[1])[i] += offset[0];
- ((CCTK_REAL *) hdata[2])[i] += offset[1];
- ((CCTK_REAL *) hdata[3])[i] += offset[2];
- }
- }
-
WriteData (gdata.vartype, header, format, hsize, hdata, file);
}
else