aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r--Carpet/CarpetLib/src/gdata.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index 2226a5b07..23c5aaead 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -186,6 +186,14 @@ allocated_memory_shape (vect<int,D> shape)
}
#endif
+bool
+gdata::
+fence_is_energized ()
+{
+ DECLARE_CCTK_PARAMETERS;
+
+ return electric_fence;
+}
// Data manipulators