diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-03-17 16:04:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-03-17 16:04:00 +0000 |
commit | c10ff7f034ed0e83355bf85d4bf2616697da3363 (patch) | |
tree | 387831c97bfa451c36e5af93faabd407e2d4a9c1 /Carpet/CarpetLib | |
parent | 16c17ca2f39ca800e0fd8a208003d0a7661afa08 (diff) |
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
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r-- | Carpet/CarpetLib/src/dh.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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); } |