diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-07 18:05:36 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-07 18:05:36 +0000 |
commit | 4c26fedb615dd6623263eef3fc9454a50b141467 (patch) | |
tree | 2fecfa34ee0f5bda9a0c88474ce2a4d956ff5793 /src/patch/ghost_zone.cc | |
parent | 0ac901204ee9a69474cc1922e2e2e951e39741d5 (diff) |
clarify semantics of N_overlap_points
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@464 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/ghost_zone.cc')
-rw-r--r-- | src/patch/ghost_zone.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/patch/ghost_zone.cc b/src/patch/ghost_zone.cc index d41c26c..ec58f18 100644 --- a/src/patch/ghost_zone.cc +++ b/src/patch/ghost_zone.cc @@ -226,7 +226,12 @@ if (! ( (common_coords_set == my_edge().coords_set_perp()) // perp coordinate must match (mod 2*pi) across the two patches // after taking into account any overlap -const fp other_overlap = N_overlap_points * other_edge().perp_map().delta_fp(); +// ... eg N_overlap_points = 3 would be +// p p p p p +// q q q q q +// so the overlap would be (N_overlap_points-1) * delta +const fp other_overlap + = (N_overlap_points-1) * other_edge().perp_map().delta_fp(); const fp other_outer_perp_minus_overlap // move back inwards into other patch // by overlap distance, to get a value // that should match our own |