From 2d16e6110516bb294ee8c5c0698dbda76b744008 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 21 Jul 2003 13:02:38 +0000 Subject: 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 --- src/InterpGridArrays.c | 6 +++--- 1 file 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"); -- cgit v1.2.3