aboutsummaryrefslogtreecommitdiff
path: root/src/patch
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-07-23 15:55:12 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-07-23 15:55:12 +0000
commitcc4d26a859181ba9ce1e912db23dbc9ae4a69b53 (patch)
tree160ee7a6a1b786302ec606d310101184d9b43741 /src/patch
parent8b23df4167c603e5ba81ce5416535bc914bdb57c (diff)
drop support for CCTK_InterpLocalUniform() returning info about
which side of the grid an outside-the-grid point was outside on (i.e. error_pt et al) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1136 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch')
-rw-r--r--src/patch/patch_interp.cc60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/patch/patch_interp.cc b/src/patch/patch_interp.cc
index 5c0ddc0..6136a37 100644
--- a/src/patch/patch_interp.cc
+++ b/src/patch/patch_interp.cc
@@ -223,66 +223,6 @@ const CCTK_INT *gridfn_type_codes_ptr
gridfn_type_codes_ptr,
interp_buffer);
- if (status == CCTK_ERROR_INTERP_POINT_OUTSIDE)
- then {
- // look in interpolator output table entries
- // to see *which* point is in error
- CCTK_INT error_pt, error_direction;
- if ( (Util_TableGetInt(interp_par_table_handle_,
- &error_pt,
- "error_pt") < 0)
- || (Util_TableGetInt(interp_par_table_handle_,
- &error_direction,
- "error_direction") < 0) )
- then error_exit(ERROR_EXIT,
-"***** patch_interp::interpolate():\n"
-" point out of range in interpatch interpolation!\n"
-" ==> something's wrong with the patch system!\n"
-" (unable to get info about which point is out of range:\n"
-" maybe an interpolator problem?)\n"
-" iperp=%d of [%d,%d]\n"
-" my_patch()=\"%s\" my_edge()=\"%s\"\n"
-,
- iperp, min_iperp(), max_iperp(),
- my_patch().name(), my_edge().name());
- /*NOTREACHED*/
-
- assert(error_pt >= 0);
- assert(error_pt < N_interp_points);
- const fp error_interp_par
- = interp_coords_ptr[error_pt];
-
- const fp gridfn_min_par = gridfn_coord_origin_;
- const fp gridfn_max_par
- = gridfn_coord_origin_
- + (N_gridfn_data_points-1)*gridfn_coord_delta_;
-
- error_exit(ERROR_EXIT,
-"***** patch_interp::interpolate():\n"
-" point out of range in interpatch interpolation!\n"
-" ==> something's wrong with the patch system!\n"
-" iperp=%d of [%d,%d]\n"
-" my_patch()=\"%s\" my_edge()=\"%s\"\n"
-" bad point is pt=%d of N_interp_points=%d, direction=%d\n"
-" ==> interp_par=%g\n"
-" gridfn_coord_origin_=%g gridfn_coord_delta_=%g\n"
-" ok_to_use_[min,max]_par_ghost_zone_=(int)[%d,%d]\n"
-" [min,max]_iperp_=[%d,%d] [min,max]_ipar_=[%d,%d]\n"
-" ==> gridfn_[min,max]_par=[%g,%g]\n"
-,
- iperp, min_iperp(), max_iperp(),
- my_patch().name(), my_edge().name(),
- error_pt, N_interp_points, error_direction,
- double(error_interp_par),
- double(gridfn_coord_origin_),
- double(gridfn_coord_delta_),
- int(ok_to_use_min_par_ghost_zone_),
- int(ok_to_use_max_par_ghost_zone_),
- min_iperp_, max_iperp_, min_ipar_, max_ipar_,
- double(gridfn_min_par), double(gridfn_max_par));
- /*NOTREACHED*/
- }
-
if (status < 0)
then error_exit(ERROR_EXIT,
"***** patch_interp::interpolate():\n"