aboutsummaryrefslogtreecommitdiff
path: root/src/Storage.c
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2003-07-14 14:12:49 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2003-07-14 14:12:49 +0000
commit819d64ba2958b154d845407b56323d2624122488 (patch)
treeaaa0ce8613c565a82c58bf5f35a40f3fbf3cbd4c /src/Storage.c
parenta2dc34d362192030d603ecec1b49a714349f338b (diff)
Added a const qualifier to the 'cGH *' argument of PUGH functions which overload
the following flesh routines: - CCTK_SyncGroup - CCTK_EnableGroupCommI / CCTK_DisableGroupCommI - CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI - CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease You will also need to update the flesh now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@414 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Storage.c')
-rw-r--r--src/Storage.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Storage.c b/src/Storage.c
index d431a2b..2970a79 100644
--- a/src/Storage.c
+++ b/src/Storage.c
@@ -307,7 +307,7 @@ int PUGH_QueryGroupStorage (const cGH *GH, int group, const char *groupname)
@var GH
@vdesc Pointer to CCTK grid hierarchy
- @vtype cGH *
+ @vtype const cGH *
@vio in
@endvar
@var groupname
@@ -327,7 +327,7 @@ int PUGH_QueryGroupStorage (const cGH *GH, int group, const char *groupname)
-3 if invalid groupname was given
@endreturndesc
@@*/
-int PUGH_EnableGroupStorage (cGH *GH, const char *groupname)
+int PUGH_EnableGroupStorage (const cGH *GH, const char *groupname)
{
DECLARE_CCTK_PARAMETERS
int group; /* group index */
@@ -441,7 +441,7 @@ int PUGH_EnableGroupStorage (cGH *GH, const char *groupname)
@var GH
@vdesc Pointer to CCTK grid hierarchy
- @vtype cGH *
+ @vtype const cGH *
@vio in
@endvar
@var groupname
@@ -456,7 +456,7 @@ int PUGH_EnableGroupStorage (cGH *GH, const char *groupname)
-1 if group type is invalid
@endreturndesc
@@*/
-int PUGH_DisableGroupStorage (cGH *GH, const char *groupname)
+int PUGH_DisableGroupStorage (const cGH *GH, const char *groupname)
{
DECLARE_CCTK_PARAMETERS
int group; /* group index */
@@ -1076,7 +1076,7 @@ void PUGHi_PrintStorageReport ()
@var GH
@vdesc Pointer to CCTK grid hierarchy
- @vtype cGH *
+ @vtype const cGH *
@vio inout
@vcomment
A driver should replace the appropriate GV pointers on this
@@ -1116,7 +1116,7 @@ void PUGHi_PrintStorageReport ()
modified.
@endreturndesc
@@*/
-int PUGH_GroupStorageIncrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status)
+int PUGH_GroupStorageIncrease(const cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status)
{
int retval;
int group;
@@ -1203,7 +1203,7 @@ int PUGH_GroupStorageIncrease(cGH *GH, int n_groups,const int *groups,const int
@var GH
@vdesc Pointer to CCTK grid hierarchy
- @vtype cGH *
+ @vtype const cGH *
@vio inout
@vcomment
A driver should replace the appropriate GV pointers on this
@@ -1243,7 +1243,7 @@ int PUGH_GroupStorageIncrease(cGH *GH, int n_groups,const int *groups,const int
modified.
@endreturndesc
@@*/
-int PUGH_GroupStorageDecrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status)
+int PUGH_GroupStorageDecrease(const cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status)
{
int retval;
int group;