diff options
author | lanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-28 01:51:22 +0000 |
---|---|---|
committer | lanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-28 01:51:22 +0000 |
commit | 4cbde658050761ef2693c8fe99407b496a3f1163 (patch) | |
tree | ac6cf896702a8e813513595c2ade0efd13f59524 /src/include | |
parent | d2cc4643ecb9bb7cda9595dbf2d35eb84f6e8154 (diff) |
simple interfaces for local scalar/1d/2d/3d reductions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1175 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cctk_Reduction.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/cctk_Reduction.h b/src/include/cctk_Reduction.h index 63716314..2fb17dbc 100644 --- a/src/include/cctk_Reduction.h +++ b/src/include/cctk_Reduction.h @@ -56,13 +56,34 @@ int CCTK_RegisterReductionArrayOperator( void (*function)(REDUCTION_ARRAY_OPERATOR_REGISTER_ARGLIST), const char *name); +/* FIXME: old interface - should go */ int CCTK_ReduceLocalScalar (cGH *GH, int proc, int operation_handle, void *inScalar, void *outScalar, int dataType); + +/* FIXME: old interface - should go */ int CCTK_ReduceLocalArray1D (cGH *GH, int proc, int operation_handle, void *in_array1d, void *out_array1d, int num_in_array1d, int data_type); +int CCTK_ReduceLocScalar(cGH *GH, int proc, int operation_handle, + void *in_scalar, void *out_scalar, int data_type); + +int CCTK_ReduceLocArrayToArray1D(cGH *GH, int proc, int operation_handle, + void *in_array1d, void *out_array1d, + int num_in_array1d, + int data_type); + +int CCTK_ReduceLocArrayToArray2D(cGH *GH, int proc, int operation_handle, + void *in_array2d, void *out_array2d, + int xsize, int ysize, + int data_type); + +int CCTK_ReduceLocArrayToArray3D(cGH *GH, int proc, int operation_handle, + void *in_array3d, void *out_array3d, + int xsize, int ysize, int zsize, + int data_type); + int CCTK_ReduceArray(cGH *GH, int proc, |