diff options
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r-- | Carpet/Carpet/src/SetupGH.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc index f88abdb51..1f007f4d1 100644 --- a/Carpet/Carpet/src/SetupGH.cc +++ b/Carpet/Carpet/src/SetupGH.cc @@ -14,6 +14,7 @@ #include <string> #include <vector> +#include <unistd.h> #include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> @@ -199,6 +200,10 @@ namespace Carpet { cGH * const cctkGH) { DECLARE_CCTK_PARAMETERS; + + int i = 1; + //while (i) + // usleep(1000000); // Some statistics { @@ -2780,9 +2785,9 @@ namespace Carpet { vdd.AT(m)->prolongation_orders_space.AT(rl); int const prolongation_stencil_size = vdd.AT(m)->prolongation_stencil_size(rl); - int const min_nghosts = - ((prolongation_stencil_size + refinement_factor - 1) - / (refinement_factor - 1)); + int const min_nghosts = 0; + //((prolongation_stencil_size + refinement_factor - 1) + // / (refinement_factor - 1)); int const min_nghosts_restrict = restriction_order_space / 2; if (any (any (ghosts.AT(rl) < i2vect (min_nghosts)))) { |