diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-11 17:09:57 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-04-11 17:09:57 +0000 |
commit | 003906c7d18ce7c24deab23e37bc014acff2459d (patch) | |
tree | f2a7cbf20767e5073cc87f690324d98359fc85a9 /src/patch/ghost_zone.cc | |
parent | 5be03eaf848d2f9e69a710852277eb3426978c6a (diff) |
ghost_zone.cc
* only set up par coordinates for those points we're going to use,
i.e. skip triangles at corners if we're not going to use them
patch_interp.cc
* fix a tiny syntax botch
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@496 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/ghost_zone.cc')
-rw-r--r-- | src/patch/ghost_zone.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/patch/ghost_zone.cc b/src/patch/ghost_zone.cc index 6179af5..894a8a5 100644 --- a/src/patch/ghost_zone.cc +++ b/src/patch/ghost_zone.cc @@ -414,8 +414,6 @@ max_ipar_used_ = new jtutil::array1d<int>(other_min_iperp, other_max_iperp); // // set up array giving other patch's par coordinate for interpolation -// ... for simplicity we just use the extreme ipar range, rather than -// only computing this on just the actually-used ipar range for each iperp // other_par_ = new jtutil::array2d<fp>(other_min_iperp, other_max_iperp, @@ -423,7 +421,7 @@ other_par_ = new jtutil::array2d<fp>(other_min_iperp, other_max_iperp, for (int iperp = min_iperp() ; iperp <= max_iperp() ; ++iperp) { - for (int ipar = extreme_min_ipar ; ipar <= extreme_max_ipar ; ++ipar) + for (int ipar = min_ipar(iperp); ipar <= max_ipar(iperp) ; ++ipar) { // compute the other_par corresponding to (iperp,ipar) // ... here we use the fact (which we verified in our constructor) |