diff options
author | tradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-07-21 13:02:38 +0000 |
---|---|---|
committer | tradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-07-21 13:02:38 +0000 |
commit | 2d16e6110516bb294ee8c5c0698dbda76b744008 (patch) | |
tree | b9b923dcacb0fadc1a888049525af17b4dea26ad | |
parent | 5a38b1e3f75bf21677e9f6e6919c7678a1827d93 (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
-rw-r--r-- | src/InterpGridArrays.c | 6 |
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"); |