From c10ff7f034ed0e83355bf85d4bf2616697da3363 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 17 Mar 2007 16:04:00 +0000 Subject: CarpetLib: Output bboxes in class dh before checking them Output bboxes in class dh before checking them, so that the wrong bboxes are printed before the programme is aborted. darcs-hash:20070317160423-dae7b-7ee774f4e46610b73e9f3b06f71dbd778910b37d.gz --- Carpet/CarpetLib/src/dh.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Carpet/CarpetLib') diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc index 82e797fcb..0e5447af5 100644 --- a/Carpet/CarpetLib/src/dh.cc +++ b/Carpet/CarpetLib/src/dh.cc @@ -146,6 +146,12 @@ void dh::regrid () calculate_bases(); timer.stop (0); } + if (check_bboxes) { + static Timer timer ("dh::regrid::check_bboxes"); + timer.start (); + foreach_reflevel_component_mglevel (&dh::do_check_bboxes); + timer.stop (0); + } if (output_bboxes) { cout << endl << h << endl; @@ -153,12 +159,6 @@ void dh::regrid () output_bases(); } - if (check_bboxes) { - static Timer timer ("dh::regrid::check_bboxes"); - timer.start (); - foreach_reflevel_component_mglevel (&dh::do_check_bboxes); - timer.stop (0); - } total.stop (0); } -- cgit v1.2.3