aboutsummaryrefslogtreecommitdiff
path: root/src/patch/ghost_zone.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-05 15:03:52 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-05 15:03:52 +0000
commit412d5b8f1c650eface69d7ce35b20d815f0d1cdc (patch)
tree41fa610bd21c6d3981717a10ff9fc64ebcec8049 /src/patch/ghost_zone.cc
parenta9e445f4fb944f0128ce0fd005e46d055bde8b70 (diff)
fix another silly syntax botch
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@282 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/ghost_zone.cc')
-rw-r--r--src/patch/ghost_zone.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/patch/ghost_zone.cc b/src/patch/ghost_zone.cc
index 10ac5ee..930bb83 100644
--- a/src/patch/ghost_zone.cc
+++ b/src/patch/ghost_zone.cc
@@ -236,7 +236,8 @@ const fp other_outer_perp_minus_overlap // move back inwards into other patch
// grid_outer_perp() value
= other_edge().grid_outer_perp()
+ (other_edge().is_min() ? + other_overlap : - other_overlap);
-if (! local_coords::fuzzy_EQ_ang(my_edge().grid_outer_perp(), other_outer_perp))
+if (! local_coords::fuzzy_EQ_ang(my_edge().grid_outer_perp(),
+ other_outer_perp_minus_overlap))
then error_exit(ERROR_EXIT,
"***** interpatch_ghost_zone::interpatch_ghost_zone:\n"
" my_patch().name()=\"%s\" my_edge().name()=%s\n"
@@ -245,14 +246,14 @@ if (! local_coords::fuzzy_EQ_ang(my_edge().grid_outer_perp(), other_outer_perp))
" my_edge().grid_outer_perp()=%g <--(compare this)\n"
" N_overlap_points=%d other_overlap=%g\n"
" other_edge.grid_outer_perp()=%g\n"
-" ==> other_outer_perp()=%g <--(against this)\n"
+" other_outer_perp_minus_overlap=%g <--(against this)\n"
,
my_patch().name(), my_edge().name(),
other_patch().name(), other_edge().name(),
double(my_edge().grid_outer_perp()),
N_overlap_points, double(other_overlap),
double(other_edge().grid_outer_perp()),
- double(other_outer_perp)); /*NOTREACHED*/
+ double(other_outer_perp_minus_overlap)); /*NOTREACHED*/
//