aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authortradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2001-08-27 16:30:51 +0000
committertradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2001-08-27 16:30:51 +0000
commit7a24f7468637799980c1855016fa1264bff31f21 (patch)
treebf8a0e6a0e5c01764d9616644147bdb6e0dfde9a /src/Startup.c
parente2e1eed3fae6ba2d1bf7304e3c33c7710a9602d4 (diff)
Added Erik's new reduction operator "norm_inf" to compute the the L-inifinty norm.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@17 d60812e6-3970-4df4-986e-c251b06effeb
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 2d1b944..0a9e3ff 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -38,17 +38,19 @@ int PUGHReduce_Startup(void);
int PUGHReduce_Startup (void)
{
/* Register the reduction operators provided by PUGH */
- CCTK_RegisterReductionOperator (PUGH_ReductionMinValGVs, "minimum");
- CCTK_RegisterReductionOperator (PUGH_ReductionMaxValGVs, "maximum");
- CCTK_RegisterReductionOperator (PUGH_ReductionSumGVs, "sum");
- CCTK_RegisterReductionOperator (PUGH_ReductionNorm1GVs, "norm1");
- CCTK_RegisterReductionOperator (PUGH_ReductionNorm2GVs, "norm2");
-
- CCTK_RegisterReductionArrayOperator (PUGH_ReductionMinValArrays, "minimum");
- CCTK_RegisterReductionArrayOperator (PUGH_ReductionMaxValArrays, "maximum");
- CCTK_RegisterReductionArrayOperator (PUGH_ReductionSumArrays, "sum");
- CCTK_RegisterReductionArrayOperator (PUGH_ReductionNorm1Arrays, "norm1");
- CCTK_RegisterReductionArrayOperator (PUGH_ReductionNorm2Arrays, "norm2");
+ CCTK_RegisterReductionOperator (PUGH_ReductionMinValGVs, "minimum");
+ CCTK_RegisterReductionOperator (PUGH_ReductionMaxValGVs, "maximum");
+ CCTK_RegisterReductionOperator (PUGH_ReductionSumGVs, "sum");
+ CCTK_RegisterReductionOperator (PUGH_ReductionNorm1GVs, "norm1");
+ CCTK_RegisterReductionOperator (PUGH_ReductionNorm2GVs, "norm2");
+ CCTK_RegisterReductionOperator (PUGH_ReductionNormInfGVs, "norm_inf");
+
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionMinValArrays, "minimum");
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionMaxValArrays, "maximum");
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionSumArrays, "sum");
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionNorm1Arrays, "norm1");
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionNorm2Arrays, "norm2");
+ CCTK_RegisterReductionArrayOperator (PUGH_ReductionNormInfArrays, "norm_inf");
return (0);
}