aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/periodic.c8
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 */