diff options
author | schnetter <> | 2003-03-12 08:34:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-03-12 08:34:00 +0000 |
commit | ec58c3b331ed01c871bff85bf2a99e482b771c0c (patch) | |
tree | fb074a633e2a4ab0be3bf92245a9ec60bc2958a3 /CarpetAttic/CarpetIOFlexIO | |
parent | 788e08d5874a630f5cce5b804b4eedd15d5a9fd0 (diff) |
Change many "cGH *" to "const cGH *", and apply corresponding updates
Change many "cGH *" to "const cGH *", and apply corresponding updates
to the const-ness of other variables.
darcs-hash:20030312083444-07bb3-0f26f780a1bdfb844c3e00383f787d674dc61c84.gz
Diffstat (limited to 'CarpetAttic/CarpetIOFlexIO')
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 6 | ||||
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc index 0b2afa93a..a9205522a 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc @@ -34,7 +34,7 @@ #include "ioflexio.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.22 2003/02/28 10:09:47 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.23 2003/03/12 09:34:44 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOFlexIO_ioflexio_cc); } @@ -375,7 +375,7 @@ namespace CarpetIOFlexIO { - int InputGH (cGH* const cgh) { + int InputGH (const cGH* const cgh) { int retval = 0; for (int vindex=0; vindex<CCTK_NumVars(); ++vindex) { if (CheckForVariable(cgh, GetStringParameter("in3D_vars",""), vindex)) { @@ -390,7 +390,7 @@ namespace CarpetIOFlexIO { - int InputVarAs (cGH* const cgh, const char* const varname, + int InputVarAs (const cGH* const cgh, const char* const varname, const char* const alias) { DECLARE_CCTK_PARAMETERS; diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh index 123869dbd..042fed5cb 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh,v 1.5 2002/09/01 14:52:26 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh,v 1.6 2003/03/12 09:34:44 schnetter Exp $ #ifndef CARPETIOFLEXIO_HH #define CARPETIOFLEXIO_HH @@ -27,8 +27,8 @@ namespace CarpetIOFlexIO { int TimeToOutput (const cGH* const cgh, const int vindex); int TriggerOutput (const cGH* const cgh, const int vindex); - int InputGH (cGH* const cgh); - int InputVarAs (cGH* const cgh, const char* const varname, + int InputGH (const cGH* const cgh); + int InputVarAs (const cGH* const cgh, const char* const varname, const char* const alias); } // namespace CarpetIOFlexIO |