diff options
author | Roland Haas <rhaas@tapir.caltech.edu> | 2013-10-31 18:40:33 -0700 |
---|---|---|
committer | Roland Haas <rhaas@tapir.caltech.edu> | 2013-10-31 19:06:02 -0700 |
commit | 15fc3538a066846c30b0525103af56c3d87a4d95 (patch) | |
tree | f9f401094dfe0cbe5e771c58d9055e85a93a689f /Carpet/Carpet/src/CallFunction.cc | |
parent | 9c7f841c2afad5ef8a1e1c8294d487f38885a377 (diff) |
Carpet: use gdata::fence_is_energized to query electric_fence
Diffstat (limited to 'Carpet/Carpet/src/CallFunction.cc')
-rw-r--r-- | Carpet/Carpet/src/CallFunction.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |