diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-06-30 10:32:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-06-30 10:32:28 +0200 |
commit | 37d8d79fb47ff8d5930f82d5b724a01f4baa5c06 (patch) | |
tree | 0000273805bd717431b03d791bf89f1639a9fbf8 | |
parent | 20e7a8feb560e494efe6b00db07af8b350fc9783 (diff) |
Disable some checks needed for cartoon.cartoon
-rw-r--r-- | Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c index 35c5a92..8023231 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c @@ -93,9 +93,9 @@ int GenericFD_GetBoundaryWidth(cGH const * restrict const cctkGH) int bw = nboundaryzones[0]; - for (int i = 1; i < 6; i++) - if (nboundaryzones[i] != bw) - CCTK_WARN(0, "Number of boundary points is different on different faces"); + //for (int i = 1; i < 6; i++) + // if (nboundaryzones[i] != bw) + // CCTK_WARN(0, "Number of boundary points is different on different faces"); return bw; } @@ -199,10 +199,10 @@ void GenericFD_GetBoundaryInfo(cGH const * restrict const cctkGH, { /* Ensure that the number of symmetry zones is the same as the number of ghost zones */ - if (npoints != cctk_nghostzones[dir]) - { - CCTK_WARN (1, "The number of symmetry points is different from the number of ghost points; this is probably an error"); - } + //if (npoints != cctk_nghostzones[dir]) + //{ + // CCTK_WARN (1, "The number of symmetry points is different from the number of ghost points; this is probably an error"); + //} } } |