diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-31 11:45:32 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-10-31 11:45:32 +0000 |
commit | 28ab879d84925c53cc97fff3d546ad9e28ba9bde (patch) | |
tree | f1d15f5b0d90f8c95bc06a66991fe42681d44373 /src/include/CommOverloadables.h | |
parent | c9080e678b4854181e65d681d3459310d543f0d3 (diff) |
CCTK_MyProc(), CCTK_nProcs(), CCTK_Barrier() and their Cactus default
overloadables take a 'const cGH *' argument now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2443 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/CommOverloadables.h')
-rw-r--r-- | src/include/CommOverloadables.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/include/CommOverloadables.h b/src/include/CommOverloadables.h index b8758410..a4b2c604 100644 --- a/src/include/CommOverloadables.h +++ b/src/include/CommOverloadables.h @@ -2,11 +2,11 @@ @header CommOverloadables.h @date Thu Feb 4 08:11:41 1999 @author Tom Goodale - @desc - The overloadable functions for the comm layer. - See OverloadMacros.h to see how to use these. - @enddesc - @version $Header$ + @desc + The overloadable functions for the comm layer. + See OverloadMacros.h to see how to use these. + @enddesc + @version $Header$ @@*/ #include "cctk_Flesh.h" @@ -47,7 +47,7 @@ OVERLOADABLE(EnableGroupComm) OVERLOADABLE(DisableGroupComm) #undef ARGUMENTS -#define ARGUMENTS cGH *GH +#define ARGUMENTS const cGH *GH OVERLOADABLE(Barrier) OVERLOADABLE(MyProc) OVERLOADABLE(nProcs) @@ -58,21 +58,21 @@ OVERLOADABLE(ParallelInit) #undef ARGUMENTS #define ARGUMENTS cGH *GH, int retval -#undef RETURN_TYPE +#undef RETURN_TYPE #define RETURN_TYPE int OVERLOADABLE(Exit) OVERLOADABLE(Abort) #undef ARGUMENTS #define ARGUMENTS tFleshConfig *config, int convergence_level -#undef RETURN_TYPE -#define RETURN_TYPE cGH * +#undef RETURN_TYPE +#define RETURN_TYPE cGH * OVERLOADABLE(SetupGH) #undef ARGUMENTS #define ARGUMENTS cGH *GH, int dir, int group, const char *groupname -#undef RETURN_TYPE -#define RETURN_TYPE const int * +#undef RETURN_TYPE +#define RETURN_TYPE const int * OVERLOADABLE(ArrayGroupSizeB) #undef ARGUMENTS @@ -93,6 +93,3 @@ OVERLOADABLE(GroupDynamicData) #undef OVERLOADABLE_CALL #undef OVERLOADABLE_PREFIX #undef OVERLOADABLE_DUMMY_PREFIX - - - |