aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2001-11-28 17:06:22 +0000
committertradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2001-11-28 17:06:22 +0000
commit67f66bf9c460a5438c892022b6406aefa3493528 (patch)
tree8b545bc34fb3041f8affe3bea416971b9d2eb7c9
parentfd68e9856ca7dc701a73b62a5a4af3154991b63c (diff)
Don't try to setup slice center for 2D planes output of 1D variables.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@84 94b1c47f-dcfd-45ef-a468-0854c0e9e350
-rw-r--r--src/ChooseOutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChooseOutput.c b/src/ChooseOutput.c
index 8e89d4d..bc7cabc 100644
--- a/src/ChooseOutput.c
+++ b/src/ChooseOutput.c
@@ -152,7 +152,7 @@ void IOASCII_Choose2D (cGH *GH)
for (i = 1; i <= CCTK_MaxDim (); i++)
{
- if (i <= 3)
+ if (i > 1 && i <= 3)
{
IOUtil_2DPlanes (GH, i, origin_index, origin_phys, myGH->sp2xyz[i-1]);
}