diff options
author | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-11-28 17:06:22 +0000 |
---|---|---|
committer | tradke <tradke@94b1c47f-dcfd-45ef-a468-0854c0e9e350> | 2001-11-28 17:06:22 +0000 |
commit | 67f66bf9c460a5438c892022b6406aefa3493528 (patch) | |
tree | 8b545bc34fb3041f8affe3bea416971b9d2eb7c9 /src/ChooseOutput.c | |
parent | fd68e9856ca7dc701a73b62a5a4af3154991b63c (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
Diffstat (limited to 'src/ChooseOutput.c')
-rw-r--r-- | src/ChooseOutput.c | 2 |
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]); } |