From 57fc421df81a2c583de4d75ba60cf1d19b7efba1 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Mon, 25 Jun 2012 21:03:35 -0700 Subject: Carpet: ensure scheduling of global-early routines in POSTREGRID these routines would not start since they were only checked for on rl==0 which is never recomposed. --- Carpet/Carpet/src/Evolve.cc | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'Carpet/Carpet/src/Evolve.cc') diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc index 19e25fc9b..32a2293ac 100644 --- a/Carpet/Carpet/src/Evolve.cc +++ b/Carpet/Carpet/src/Evolve.cc @@ -294,6 +294,12 @@ namespace Carpet { if (did_regrid) { bool did_any_recompose = false; BEGIN_META_MODE (cctkGH) { + + bool have_done_global_mode = false; + bool have_done_early_global_mode = false; + bool have_done_late_global_mode = false; + bool have_done_anything = false; + for (int rl=0; rl