aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-07-21 13:02:38 +0000
committertradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-07-21 13:02:38 +0000
commit2d16e6110516bb294ee8c5c0698dbda76b744008 (patch)
treeb9b923dcacb0fadc1a888049525af17b4dea26ad /src
parent5a38b1e3f75bf21677e9f6e6919c7678a1827d93 (diff)
Used the wrong table to pass per-point status information between local and
global interpolator. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@68 1c20744c-e24a-42ec-9533-f5004cb800e5
Diffstat (limited to 'src')
-rw-r--r--src/InterpGridArrays.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c
index 23089a4..53a1d90 100644
--- a/src/InterpGridArrays.c
+++ b/src/InterpGridArrays.c
@@ -867,7 +867,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
/* add the per_point_status[] array the user-supplied table
(create a new empty table if the user didn't supply one) */
- table_handle = local_interp_handle;
+ table_handle = param_table_handle;
if (table_handle < 0)
{
table_handle = Util_TableCreate (UTIL_TABLE_FLAGS_DEFAULT);
@@ -876,7 +876,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
/* now call the local interpolator for all local points and store
the results in the intermediate local output arrays */
- retval = CCTK_InterpLocalUniform (N_dims, table_handle, param_table_handle,
+ retval = CCTK_InterpLocalUniform (N_dims, local_interp_handle, table_handle,
origin_local, delta, N_points_local,
interp_coords_type,
(const void **) interp_coords_local,
@@ -910,7 +910,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
}
/* remove the internal options from the user-supplied table */
- if (table_handle == local_interp_handle)
+ if (table_handle == param_table_handle)
{
Util_TableDeleteKey (table_handle, "error_point_status");
Util_TableDeleteKey (table_handle, "per_point_status");