aboutsummaryrefslogtreecommitdiff
path: root/src/Faces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Faces.c')
-rw-r--r--src/Faces.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Faces.c b/src/Faces.c
index 844dfc2..b67643d 100644
--- a/src/Faces.c
+++ b/src/Faces.c
@@ -96,7 +96,7 @@ SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table,
{
return -3; /* illegal argument */
}
- if (!symmetry_zone_width)
+ if (!new_symmetry_zone_width)
{
return -4; /* illegal argument */
}
@@ -129,6 +129,10 @@ SymBase_SymmetryRegisterFaces (CCTK_INT const sym_table,
return -5; /* The face is already taken */
}
symmetry_handle[face] = sym_handle;
+ if (new_symmetry_zone_width[face] > 100)
+ {
+ CCTK_WARN (0, "Tried to register a symmetry face with a symmetry zone width >100 -- this looks like an error");
+ }
symmetry_zone_width[face] = new_symmetry_zone_width[face];
}
}