diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-11-05 15:01:47 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-11-05 15:01:47 +0000 |
commit | 58fce8ad2b83e344c5cab6401ddcf1e2c8d25cbf (patch) | |
tree | 48172307cb5ff3a2699a2e3bdd8937c8717c5248 /src/pugh_Comm.h | |
parent | 4017bb013c47a27a265a280690b9144efecf9405 (diff) |
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
Diffstat (limited to 'src/pugh_Comm.h')
-rw-r--r-- | src/pugh_Comm.h | 53 |
1 files changed, 18 insertions, 35 deletions
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_ */ |