aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsai <sai@eec4d7dc-71c2-46d6-addf-10296150bf52>2001-05-04 18:22:03 +0000
committersai <sai@eec4d7dc-71c2-46d6-addf-10296150bf52>2001-05-04 18:22:03 +0000
commite365604babac799bec6728aacb5367d914ea2388 (patch)
tree104f13a149fe2d2ac0b0f7c03a0d0bf39df73ed1 /src
parent73c0844617563ec227b8756fb0b438506b5329f9 (diff)
Fixed check for ghostzone width in x direction.
The error was noticed by Erik Schnetter. Sai. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@18 eec4d7dc-71c2-46d6-addf-10296150bf52
Diffstat (limited to 'src')
-rw-r--r--src/CheckParameters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheckParameters.c b/src/CheckParameters.c
index f2d7574..5f37376 100644
--- a/src/CheckParameters.c
+++ b/src/CheckParameters.c
@@ -40,7 +40,7 @@ void Cartoon2D_CheckParameters(CCTK_ARGUMENTS)
CCTK_PARAMWARN("Grid size in y direction inappropriate.");
}
- if(order < 2*cctk_nghostzones[0])
+ if(order > 2*cctk_nghostzones[0])
{
CCTK_PARAMWARN("Ghostzone width in x direction too small.");
}