diff options
-rw-r--r-- | Carpet/Carpet/param.ccl | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/CallFunction.cc | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl index 9f6e0a250..dca67844b 100644 --- a/Carpet/Carpet/param.ccl +++ b/Carpet/Carpet/param.ccl @@ -606,7 +606,3 @@ BOOLEAN adaptive_stepsize "Allow adaptive timestep sizes" BOOLEAN use_unusedpoints_mask "Turn on storage and usage of 'unusedpoints_mask'" STEERABLE=recover { } "no" - -SHARES: CarpetLib - -USES BOOLEAN electric_fence diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc index 494f2864c..464144f31 100644 --- a/Carpet/Carpet/src/CallFunction.cc +++ b/Carpet/Carpet/src/CallFunction.cc @@ -477,7 +477,7 @@ namespace Carpet { if (is_meta_mode()) return; // meta mode has no accessible variables // enumerating the grid variables is expensive - if (not electric_fence) return; + if (not gdata::fence_is_energized()) return; Timers::Timer timer("FenceCheck"); timer.start(); |