aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.hh
diff options
context:
space:
mode:
authorRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 18:39:39 -0700
committerRoland Haas <rhaas@tapir.caltech.edu>2013-10-31 19:06:02 -0700
commit9c7f841c2afad5ef8a1e1c8294d487f38885a377 (patch)
treeaa8d983b2992cae75f04263febdd7e5603726d14 /Carpet/CarpetLib/src/gdata.hh
parentd43e472044d51790713abd2c50e2389eee366843 (diff)
CarpetLib: introduce accessor in gdata to query electric_fence
this function effectively exposes the CarpetLib parameter to Carpet without explicit parameter sharing
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.hh')
-rw-r--r--Carpet/CarpetLib/src/gdata.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/gdata.hh b/Carpet/CarpetLib/src/gdata.hh
index c000a4d74..152a7e118 100644
--- a/Carpet/CarpetLib/src/gdata.hh
+++ b/Carpet/CarpetLib/src/gdata.hh
@@ -105,8 +105,10 @@ public:
0;
virtual void free () = 0;
virtual size_t allocsize (const ibbox& extent, const int proc) const = 0;
+
// true if fence is intact
virtual bool check_fence (const int upperlower) const = 0;
+ static bool fence_is_energized ();
// Accessors
bool has_storage () const {