diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-07-18 13:09:26 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-07-18 13:09:26 +0000 |
commit | 98e94e4f92a1c3b4303403ded7b2fda178581616 (patch) | |
tree | c9ad4edd0793011bede3e43e4552286375a163f0 /src/patch/patch.hh | |
parent | 988ed85a3a604464e518317c2b24f1ea6c5f1c72 (diff) |
add patch::minmax_ang_ghost_zone()
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@219 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/patch.hh')
-rw-r--r-- | src/patch/patch.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/patch/patch.hh b/src/patch/patch.hh index ebf5b5f..799e8c4 100644 --- a/src/patch/patch.hh +++ b/src/patch/patch.hh @@ -277,6 +277,14 @@ public: { return *min_sigma_ghost_zone_; } ghost_zone& max_sigma_ghost_zone() const { return *max_sigma_ghost_zone_; } + ghost_zone& minmax_ang_ghost_zone(bool want_min, bool want_rho) + const + { + return want_min ? (want_rho ? min_rho_ghost_zone() + : min_sigma_ghost_zone()) + : (want_rho ? max_rho_ghost_zone() + : max_sigma_ghost_zone()); + } ghost_zone& ghost_zone_on_edge(const patch_edge &e) const; private: // helper function for setup_*_ghost_zone(): |