diff options
author | tradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-01-07 10:31:03 +0000 |
---|---|---|
committer | tradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5> | 2003-01-07 10:31:03 +0000 |
commit | 0127271e236421acd3cd5f0323d2c8f3f4e8b40f (patch) | |
tree | 15c45e5f131ee3c3bc5127662c9b2978517ad961 | |
parent | 788cabc64b97ec8868962bb5f165cd300a4b5bcb (diff) |
Fixed compiler warning for non-MPI configurations.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@41 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 eb886d1..c11c52b 100644 --- a/src/InterpGridArrays.c +++ b/src/InterpGridArrays.c @@ -185,8 +185,8 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, const pGH *pughGH; const pGExtras *extras; cGroupDynamicData group_data; - pughInterpGH *myGH; #ifdef CCTK_MPI + pughInterpGH *myGH; CCTK_REAL **interp_coords_local; int N_points_local, N_types; int j, point, proc, array, type, offset; @@ -199,8 +199,6 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, #endif - /* get GH extension handles for PUGHInterp and PUGH */ - myGH = CCTK_GHExtension (GH, "PUGHInterp"); pughGH = CCTK_GHExtension (GH, "PUGH"); /* check function arguments */ @@ -436,6 +434,8 @@ int PUGHInterp_InterpGridArrays (const cGH *GH, return (UTIL_ERROR_BAD_INPUT); } + myGH = CCTK_GHExtension (GH, "PUGHInterp"); + /* map the requested points to interpolate at onto the processors they belong to and gather the coordinates of all the points local to this processor |