From 58fce8ad2b83e344c5cab6401ddcf1e2c8d25cbf Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 5 Nov 2001 15:01:47 +0000 Subject: Added const qualifier to the 'cGH *' argument of some more overloadable functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@363 b61c5cb5-eaca-4651-9a7a-d64986f99364 --- src/pugh_Comm.h | 53 ++++++++++++++++++----------------------------------- 1 file changed, 18 insertions(+), 35 deletions(-) (limited to 'src/pugh_Comm.h') diff --git a/src/pugh_Comm.h b/src/pugh_Comm.h index 4a67405..540e4bb 100644 --- a/src/pugh_Comm.h +++ b/src/pugh_Comm.h @@ -2,10 +2,10 @@ @header pugh_Comm.h @date Thu Feb 4 11:42:50 1999 @author Tom Goodale - @desc - - @enddesc - @version $Header$ + @desc + Prototypes of functions to be overloaded by PUGH + @enddesc + @version $Header$ @@*/ #ifndef _PUGH_COMM_H_ @@ -16,39 +16,22 @@ extern "C" { #endif - /* Overloaded functions. */ -int PUGH_SyncGroup(cGH *GH, const char *group); -int PUGH_EnableGroupStorage(cGH *GH, const char *group); -int PUGH_DisableGroupStorage(cGH *GH, const char *group); - -int PUGH_EnableGroupComm(cGH *GH, const char *group); -int PUGH_DisableGroupComm(cGH *GH, const char *group); - -int PUGH_Barrier(const cGH *GH); -int PUGH_Reduce(cGH *GH, - const char *operation, - int n_infields, - int n_outfields, - int out_type, - void **outarray, - ...); - -int PUGH_Interp(cGH *GH, - const char *operation, - int n_coords, - int n_infields, - int n_outfields, - int n_points, - int type, - ...); - -const int *PUGH_ArrayGroupSize(cGH *GH, int dir, int vindex, const char *groupname); -int PUGH_QueryGroupStorage(cGH *GH, int group, const char *groupname); - -int PUGH_GroupDynamicData(cGH *GH, int group, cGroupDynamicData *data); +int PUGH_Barrier (const cGH *GH); +int PUGH_SyncGroup (cGH *GH, const char *group); + +int PUGH_EnableGroupStorage (cGH *GH, const char *group); +int PUGH_DisableGroupStorage (cGH *GH, const char *group); + +int PUGH_EnableGroupComm (cGH *GH, const char *group); +int PUGH_DisableGroupComm (cGH *GH, const char *group); + +const int *PUGH_ArrayGroupSize (const cGH *GH, int dir, int vindex, const char *groupname); +int PUGH_QueryGroupStorage (const cGH *GH, int group, const char *groupname); + +int PUGH_GroupDynamicData (const cGH *GH, int group, cGroupDynamicData *data); #ifdef __cplusplus } #endif -#endif +#endif /* _PUGH_COMM_H_ */ -- cgit v1.2.3