aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a>2005-11-16 19:17:35 +0000
committeryye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a>2005-11-16 19:17:35 +0000
commit47207166128c4a82506f91674c6167f0a98762f7 (patch)
treea581838cae0b4e3c1269350899f90303ae4ef8bc
parent79ef253223225fce7619f0eff15a8bf1186c2c39 (diff)
added average operation, which is essentially the mean operation
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@72 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r--src/Startup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 12aace8..924697d 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -25,6 +25,7 @@ int LocalReduce_Startup (void)
/* Register the reduction operators */
CCTK_RegisterLocalArrayReductionOperator (LocalReduce_Mean, "mean");
+ CCTK_RegisterLocalArrayReductionOperator (LocalReduce_Mean, "average");
CCTK_RegisterLocalArrayReductionOperator (LocalReduce_Max, "maximum");
CCTK_RegisterLocalArrayReductionOperator (LocalReduce_Min, "minimum");
CCTK_RegisterLocalArrayReductionOperator (LocalReduce_Count, "count");