aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
diff options
context:
space:
mode:
authorRoland Haas <rhaas@caltech.edu>2012-03-08 13:34:56 -0800
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:13 +0100
commit0300bdc2231f27bc33837b1aa9714f67801f23da (patch)
treee8a8b3a1f82b5efbb91552b69780ee329f740350 /Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
parentabf101e5592debf7250fcafe840547e3321aca3a (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_cc_rf2.cc')
-rw-r--r--Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc b/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
index c9c4bfc2d..f200f59fe 100644
--- a/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
+++ b/Carpet/CarpetLib/src/restrict_3d_cc_rf2.cc
@@ -65,6 +65,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");
}