aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@d60812e6-3970-4df4-986e-c251b06effeb>2004-09-14 19:47:23 +0000
committergoodale <goodale@d60812e6-3970-4df4-986e-c251b06effeb>2004-09-14 19:47:23 +0000
commit662b812ed350829b4622083a55738b2f9a8df85a (patch)
treee0491c1329fe62289504921c63d3ecd4bf4fec62
parent0204d02e92a7777fe3f70ea2cd68699ecc8059f6 (diff)
Make it work in the non-MPI case.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@53 d60812e6-3970-4df4-986e-c251b06effeb
-rw-r--r--src/ReduceGA.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c
index e7f7181..b8bae1c 100644
--- a/src/ReduceGA.c
+++ b/src/ReduceGA.c
@@ -209,9 +209,10 @@ static int ReduceGridArrays (const cGH *GH,
/* Get flag to perform division by number of points or not */
ierr = Util_TableGetInt(param_table_handle, &perform_division, "perform_division");
+ ierr = Util_TableGetInt(param_table_handle, &num_points, "num_points");
+
#ifdef CCTK_MPI
pughGH = PUGH_pGH (GH);
- ierr = Util_TableGetInt(param_table_handle, &num_points, "num_points");
ierr = Util_TableGetInt(param_table_handle, &proc, "proc");
ierr = Util_TableGetInt(param_table_handle, &mpi_operation, "mpi_operation");