aboutsummaryrefslogtreecommitdiff
path: root/src/patch/patch.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-15 15:33:21 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-15 15:33:21 +0000
commit2376a8906269ce25af6aad8a1886bfffa9839f6e (patch)
tree5b68b60383aeb6d32ee2bd347d1a465940e5156b /src/patch/patch.hh
parent0cf0dca43a1cd9b5ef7ead486fd48e7a68090afc (diff)
add interpatch_ghost_zone_on_edge()
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@160 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/patch.hh')
-rw-r--r--src/patch/patch.hh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/patch/patch.hh b/src/patch/patch.hh
index c89fd78..d4b28ac 100644
--- a/src/patch/patch.hh
+++ b/src/patch/patch.hh
@@ -277,7 +277,16 @@ public:
: (e.is_rho() ? max_rho_ghost_zone()
: max_sigma_ghost_zone());
}
-
+ // get *interpatch* ghost zone on specified edge
+ // ... verifies that ghost zone is indeed interpatch
+ interpatch_ghost_zone& interpatch_ghost_zone_on_edge
+ (const patch_edge &e)
+ const
+ {
+ ghost_zone &g = ghost_zone_on_edge(e);
+ assert(g.is_interpatch());
+ return static_cast<interpatch_ghost_zone &>(g);
+ }
//