diff options
author | sai <sai@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2001-05-04 18:22:03 +0000 |
---|---|---|
committer | sai <sai@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2001-05-04 18:22:03 +0000 |
commit | e365604babac799bec6728aacb5367d914ea2388 (patch) | |
tree | 104f13a149fe2d2ac0b0f7c03a0d0bf39df73ed1 /src/CheckParameters.c | |
parent | 73c0844617563ec227b8756fb0b438506b5329f9 (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/CheckParameters.c')
-rw-r--r-- | src/CheckParameters.c | 2 |
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."); } |