diff options
author | Roland Haas <rhaas@caltech.edu> | 2012-03-08 13:34:56 -0800 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:13 +0100 |
commit | 0300bdc2231f27bc33837b1aa9714f67801f23da (patch) | |
tree | e8a8b3a1f82b5efbb91552b69780ee329f740350 /Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc | |
parent | abf101e5592debf7250fcafe840547e3321aca3a (diff) |
CarpetLib: output regions when not-contained error is detected in
restrict_3d_cc_rf2 and restrict_3d_vc_rf2
Diffstat (limited to 'Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc')
-rw-r--r-- | Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc b/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc index f750ca149..d61db7036 100644 --- a/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc +++ b/Carpet/CarpetLib/src/restrict_3d_vc_rf2.cc @@ -168,6 +168,9 @@ namespace CarpetLib { if (not regbbox.expanded_for(srcbbox).is_contained_in(srcbbox) or not regbbox.is_contained_in(dstbbox)) { + cerr << "srcbbox: " << srcbbox << endl + << "dstbbox: " << dstbbox << endl + << "regbbox: " << regbbox << endl; CCTK_WARN (0, "Internal error: region extent is not contained in array extent"); } |