aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/CallFunction.cc
diff options
context:
space:
mode:
authorRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 18:40:33 -0700
committerRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 19:06:02 -0700
commit15fc3538a066846c30b0525103af56c3d87a4d95 (patch)
treef9f401094dfe0cbe5e771c58d9055e85a93a689f /Carpet/Carpet/src/CallFunction.cc
parent9c7f841c2afad5ef8a1e1c8294d487f38885a377 (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.cc2
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();