diff options
author | schnetter <schnetter@1bf05452-ddb3-4880-bfa1-00436340132b> | 2004-02-01 17:43:22 +0000 |
---|---|---|
committer | schnetter <schnetter@1bf05452-ddb3-4880-bfa1-00436340132b> | 2004-02-01 17:43:22 +0000 |
commit | 89e3c058c239575de1b502474f05c227918d48a1 (patch) | |
tree | 37f61702e0f31efb43b75d5a83ca7f4a0f1ef9d8 | |
parent | 8be783ed4d277292786660d4a1b491a26fca6d17 (diff) |
Improve error message.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@11 1bf05452-ddb3-4880-bfa1-00436340132b
-rw-r--r-- | src/periodic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/periodic.c b/src/periodic.c index b47aeb7..ccb6a8a 100644 --- a/src/periodic.c +++ b/src/periodic.c @@ -109,12 +109,12 @@ BndPeriodicVI (cGH const * restrict const cctkGH, if (data.gsh[dir] < 2*stencil[dir]+1) { CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING, - "The group %s has in direction %d only %d grid points. " + "The group %s has in the %c-direction only %d grid points. " "This is not large enough for a periodic boundary that is %d grid points wide. " - "The group needs to have at least %d grid points in direction %d.", - CCTK_GroupNameFromVarI(vi), dir, data.gsh[dir], + "The group needs to have at least %d grid points in that direction.", + CCTK_GroupNameFromVarI(vi), "xyz"[dir], data.gsh[dir], stencil[dir], - 2*stencil[dir]+1, dir); + 2*stencil[dir]+1); } /* Loop over faces */ |