diff options
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c new file mode 100644 index 0000000..ff8c0f7 --- /dev/null +++ b/src/Startup.c @@ -0,0 +1,29 @@ + /*@@ + @file Startup.c + @date + @author + @desc + Startup routines for LocalReduce. + @enddesc + @version $Id$ +@@*/ + +#include "cctk.h" + +static const char *rcsid="$Id$"; + +CCTK_FILEVERSION(CactusBase_LocalReduce_Startup_c) + + +/* prototypes of routines defined in this source file */ +int LocalReduce_Startup(void); + + +int LocalReduce_Startup (void) +{ + /* Register the reduction operators */ + + CCTK_RegisterReductionArrayOperator (Local_ReductionAvgArrays, "average"); + + return (0); +} |