aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 872e27f..2a46428 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -40,6 +40,9 @@ int PUGHReduce_Startup (void)
/* Register the Global reduction operator */
CCTK_RegisterGridArrayReductionOperator(PUGH_ReduceGridArrays);
+ /* Register the Array reducction globally operator */
+ CCTK_RegisterReduceArraysGloballyOperator(PUGH_ReduceArraysGlobally);
+
/* Register the reduction operators provided by PUGH */
CCTK_RegisterReductionOperator (PUGH_ReductionAvgGVs, "average");
CCTK_RegisterReductionOperator (PUGH_ReductionAvgGVs, "mean");