diff options
author | schnetter <> | 2001-11-02 16:51:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-11-02 16:51:00 +0000 |
commit | 5d28c7793b601e70cacaefe1ae5133b01b8879d4 (patch) | |
tree | 0e5c5f7080ae948bc8f26df42fc6191e17e47feb | |
parent | 0918c55b78b41898adf25cfed770b65b6dbda7f5 (diff) |
Next round.
darcs-hash:20011102165115-07bb3-ddbdfef5b4d0566903aa0199cb2ced9c0aa6cd19.gz
-rw-r--r-- | Carpet/Carpet/src/Comm.cc | 8 | ||||
-rw-r--r-- | Carpet/Carpet/src/Evolve.cc | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/Shutdown.cc | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/Storage.cc | 8 | ||||
-rw-r--r-- | Carpet/Carpet/src/carpet_public.hh | 22 | ||||
-rw-r--r-- | Carpet/Carpet/src/helpers.cc | 6 |
6 files changed, 26 insertions, 26 deletions
diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc index bb5658d6b..3d2ce5470 100644 --- a/Carpet/Carpet/src/Comm.cc +++ b/Carpet/Carpet/src/Comm.cc @@ -9,7 +9,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Comm.cc,v 1.3 2001/11/02 10:58:57 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Comm.cc,v 1.4 2001/11/02 17:51:15 schnetter Exp $"; @@ -19,7 +19,7 @@ namespace Carpet { - int SyncGroup (const cGH* cgh, const char* groupname) + int SyncGroup (cGH* cgh, const char* groupname) { DECLARE_CCTK_PARAMETERS; @@ -62,13 +62,13 @@ namespace Carpet { - int EnableGroupComm (const cGH* cgh, const char* groupname) + int EnableGroupComm (cGH* cgh, const char* groupname) { // Communication is always enabled return 0; } - int DisableGroupComm (const cGH* cgh, const char* groupname) + int DisableGroupComm (cGH* cgh, const char* groupname) { // Communication is always enabled return -1; diff --git a/Carpet/Carpet/src/Evolve.cc b/Carpet/Carpet/src/Evolve.cc index 21867c757..780f1b6b3 100644 --- a/Carpet/Carpet/src/Evolve.cc +++ b/Carpet/Carpet/src/Evolve.cc @@ -9,7 +9,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Evolve.cc,v 1.4 2001/11/02 10:58:58 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Evolve.cc,v 1.5 2001/11/02 17:51:15 schnetter Exp $"; @@ -48,7 +48,7 @@ namespace Carpet { - int Evolve (const tFleshConfig* fc) + int Evolve (tFleshConfig* fc) { DECLARE_CCTK_PARAMETERS; diff --git a/Carpet/Carpet/src/Shutdown.cc b/Carpet/Carpet/src/Shutdown.cc index f5db7e2b5..1e31d7919 100644 --- a/Carpet/Carpet/src/Shutdown.cc +++ b/Carpet/Carpet/src/Shutdown.cc @@ -9,7 +9,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Shutdown.cc,v 1.2 2001/11/02 10:58:59 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Shutdown.cc,v 1.3 2001/11/02 17:51:15 schnetter Exp $"; @@ -19,7 +19,7 @@ namespace Carpet { - int Shutdown (const tFleshConfig* fc) + int Shutdown (tFleshConfig* fc) { DECLARE_CCTK_PARAMETERS; diff --git a/Carpet/Carpet/src/Storage.cc b/Carpet/Carpet/src/Storage.cc index 6558f9067..237e42421 100644 --- a/Carpet/Carpet/src/Storage.cc +++ b/Carpet/Carpet/src/Storage.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.3 2001/11/02 10:59:00 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.4 2001/11/02 17:51:15 schnetter Exp $"; @@ -122,7 +122,7 @@ namespace Carpet { - int QueryGroupStorageB (const cGH* cgh, int group, const char* groupname) + int QueryGroupStorageB (cGH* cgh, int group, const char* groupname) { if (groupname) { group = CCTK_GroupIndex(groupname); @@ -140,7 +140,7 @@ namespace Carpet { - const int* ArrayGroupSizeB (const cGH* cgh, int dir, int group, + const int* ArrayGroupSizeB (cGH* cgh, int dir, int group, const char* groupname) { static const int zero = 0; @@ -177,7 +177,7 @@ namespace Carpet { - int GroupDynamicData (const cGH* cgh, int group, cGroupDynamicData* data) + int GroupDynamicData (cGH* cgh, int group, cGroupDynamicData* data) { assert (group>=0 && group<CCTK_NumGroups()); *data = arrdata[group].info; diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh index 719147350..d937e18fc 100644 --- a/Carpet/Carpet/src/carpet_public.hh +++ b/Carpet/Carpet/src/carpet_public.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.4 2001/11/02 16:05:03 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.5 2001/11/02 17:51:15 schnetter Exp $ // It is assumed that the number of components of all arrays is equal // to the number of components of the grid functions, and that their @@ -94,24 +94,24 @@ namespace Carpet { void* SetupGH (tFleshConfig* fc, int convLevel, cGH* cgh); int Initialise (tFleshConfig* config); - int Evolve (const tFleshConfig* config); - int Shutdown (const tFleshConfig* config); + int Evolve (tFleshConfig* config); + int Shutdown (tFleshConfig* config); int CallFunction (void* function, cFunctionData* attribute, void* data); - int SyncGroup (const cGH* cgh, const char* groupname); + int SyncGroup (cGH* cgh, const char* groupname); int EnableGroupStorage (cGH* cgh, const char* groupname); int DisableGroupStorage (cGH* cgh, const char* groupname); - int EnableGroupComm (const cGH* cgh, const char* groupname); - int DisableGroupComm (const cGH* cgh, const char* groupname); + int EnableGroupComm (cGH* cgh, const char* groupname); + int DisableGroupComm (cGH* cgh, const char* groupname); int Barrier (const cGH* cgh); - int Exit (const cGH* cgh, int retval); - int Abort (const cGH* cgh, int retval); + int Exit (cGH* cgh, int retval); + int Abort (cGH* cgh, int retval); int MyProc (const cGH* cgh); int nProcs (const cGH* cgh); - const int* ArrayGroupSizeB (const cGH* cgh, int dir, int group, + const int* ArrayGroupSizeB (cGH* cgh, int dir, int group, const char* groupname); - int QueryGroupStorageB (const cGH* cgh, int group, const char* groupname); - int GroupDynamicData (const cGH* cgh, int group, cGroupDynamicData* data); + int QueryGroupStorageB (cGH* cgh, int group, const char* groupname); + int GroupDynamicData (cGH* cgh, int group, cGroupDynamicData* data); diff --git a/Carpet/Carpet/src/helpers.cc b/Carpet/Carpet/src/helpers.cc index 97443f183..fe88b2150 100644 --- a/Carpet/Carpet/src/helpers.cc +++ b/Carpet/Carpet/src/helpers.cc @@ -11,7 +11,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/helpers.cc,v 1.6 2001/11/02 10:59:00 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/helpers.cc,v 1.7 2001/11/02 17:51:15 schnetter Exp $"; @@ -29,14 +29,14 @@ namespace Carpet { - int Exit (const cGH* cgh, int retval) + int Exit (cGH* cgh, int retval) { CCTK_Barrier (cgh); dist::finalize(); exit (retval); } - int Abort (const cGH* cgh, int retval) + int Abort (cGH* cgh, int retval) { MPI_Abort (dist::comm, retval); abort (); |