diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2010-10-28 14:19:09 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2010-10-28 14:19:46 +0200 |
commit | 96aabdc245e13ecf9fe116cb7e0323adf06cf7c0 (patch) | |
tree | c2effb224dd57f96bd0cf433490eb7be3615e277 /Auxiliary | |
parent | c820f3fdbdcce0e3665d165db63b15a9c5279554 (diff) |
Omit error when cannot find current map in GenericFD_GetBoundaryWidth
Diffstat (limited to 'Auxiliary')
-rw-r--r-- | Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c index 4e1e774..ba83b89 100644 --- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c +++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/src/GenericFD.c @@ -69,8 +69,12 @@ int GenericFD_GetBoundaryWidth(cGH const * restrict const cctkGH) if (CCTK_IsFunctionAliased ("MultiPatch_GetBoundarySpecification")) { int const map = MultiPatch_GetMap (cctkGH); + /* This doesn't make sense in level mode */ if (map < 0) - CCTK_WARN(0, "Could not determine current map"); + { +// CCTK_WARN(1, "Could not determine current map"); + return 0; + } ierr = MultiPatch_GetBoundarySpecification (map, 6, nboundaryzones, is_internal, is_staggered, shiftout); if (ierr != 0) |