diff options
-rw-r--r-- | Carpet/Carpet/src/Checksum.cc | 10 | ||||
-rw-r--r-- | Carpet/Carpet/src/Comm.cc | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/Cycle.cc | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/Poison.cc | 12 | ||||
-rw-r--r-- | Carpet/Carpet/src/Restrict.cc | 4 | ||||
-rw-r--r-- | Carpet/Carpet/src/Storage.cc | 14 | ||||
-rw-r--r-- | Carpet/Carpet/src/carpet_public.hh | 22 | ||||
-rw-r--r-- | Carpet/Carpet/src/helpers.cc | 6 | ||||
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.cc | 12 | ||||
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.hh | 11 | ||||
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 14 | ||||
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh | 10 |
12 files changed, 62 insertions, 61 deletions
diff --git a/Carpet/Carpet/src/Checksum.cc b/Carpet/Carpet/src/Checksum.cc index 1d7e72a90..677c15ef8 100644 --- a/Carpet/Carpet/src/Checksum.cc +++ b/Carpet/Carpet/src/Checksum.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Checksum.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/Checksum.cc,v 1.4 2001/11/05 17:53:01 schnetter Exp $"; @@ -48,7 +48,7 @@ namespace Carpet { } for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { for (int var=0; var<CCTK_NumVarsInGroupI(group); ++var) { const int n = CCTK_FirstVarIndexI(group) + var; @@ -65,7 +65,7 @@ namespace Carpet { const int gpdim = arrdata[group].info.dim; int np = 1; for (int d=0; d<gpdim; ++d) { - np *= *CCTK_ArrayGroupSizeI((cGH*)cgh, d, group); + np *= *CCTK_ArrayGroupSizeI(cgh, d, group); } const void* data = cgh->data[n][tl]; int chk = 0; @@ -94,7 +94,7 @@ namespace Carpet { assert ((int)checksums.size()==CCTK_NumVars()); for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { for (int var=0; var<CCTK_NumVarsInGroupI(group); ++var) { const int n = CCTK_FirstVarIndexI(group) + var; @@ -120,7 +120,7 @@ namespace Carpet { const int gpdim = arrdata[group].info.dim; int np = 1; for (int d=0; d<gpdim; ++d) { - np *= *CCTK_ArrayGroupSizeI((cGH*)cgh, d, group); + np *= *CCTK_ArrayGroupSizeI(cgh, d, group); } const void* data = cgh->data[n][tl]; int chk = 0; diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc index 3d2ce5470..36f5be6d4 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.4 2001/11/02 17:51:15 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Comm.cc,v 1.5 2001/11/05 17:53:01 schnetter Exp $"; @@ -30,7 +30,7 @@ namespace Carpet { const int group = CCTK_GroupIndex(groupname); assert (group>=0 && group<CCTK_NumGroups()); - if (! CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (! CCTK_QueryGroupStorageI(cgh, group)) { CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING, "Cannot synchronise group \"%s\" because it has no storage", groupname); diff --git a/Carpet/Carpet/src/Cycle.cc b/Carpet/Carpet/src/Cycle.cc index 2fb502961..2b7f2bf86 100644 --- a/Carpet/Carpet/src/Cycle.cc +++ b/Carpet/Carpet/src/Cycle.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Cycle.cc,v 1.3 2001/11/02 10:58:58 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Cycle.cc,v 1.4 2001/11/05 17:53:01 schnetter Exp $"; @@ -23,7 +23,7 @@ namespace Carpet { Checkpoint ("%*sCycleTimeLevels", 2*reflevel, ""); for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { for (int var=0; var<CCTK_NumVarsInGroupI(group); ++var) { assert (group<(int)arrdata.size()); diff --git a/Carpet/Carpet/src/Poison.cc b/Carpet/Carpet/src/Poison.cc index 4d1ffe34a..eceb6945a 100644 --- a/Carpet/Carpet/src/Poison.cc +++ b/Carpet/Carpet/src/Poison.cc @@ -7,7 +7,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Poison.cc,v 1.3 2001/11/02 10:58:58 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Poison.cc,v 1.4 2001/11/05 17:53:01 schnetter Exp $"; @@ -24,7 +24,7 @@ namespace Carpet { if (! poison_new_timelevels) return; for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { PoisonGroup (cgh, group, where); } // if has storage } // for group @@ -42,7 +42,7 @@ namespace Carpet { Checkpoint ("%*sPoisonGroup %s", 2*reflevel, "", CCTK_GroupName(group)); - if (! CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (! CCTK_QueryGroupStorageI(cgh, group)) { CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING, "Cannot poison group \"%s\" because it has no storage", CCTK_GroupName(group)); @@ -67,7 +67,7 @@ namespace Carpet { int np = 1; const int gpdim = arrdata[group].info.dim; for (int d=0; d<gpdim; ++d) { - np *= *CCTK_ArrayGroupSizeI((cGH*)cgh, d, group); + np *= *CCTK_ArrayGroupSizeI(cgh, d, group); } memset (cgh->data[n][tl], poison_value, np*sz); } @@ -89,7 +89,7 @@ namespace Carpet { Checkpoint ("%*sPoisonCheck", 2*reflevel, ""); for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { for (int var=0; var<CCTK_NumVarsInGroupI(group); ++var) { const int n = CCTK_FirstVarIndexI(group) + var; @@ -106,7 +106,7 @@ namespace Carpet { vect<int,dim> size(1); const int gpdim = arrdata[group].info.dim; for (int d=0; d<gpdim; ++d) { - size[d] = *CCTK_ArrayGroupSizeI((cGH*)cgh, d, group); + size[d] = *CCTK_ArrayGroupSizeI(cgh, d, group); } const int tp = CCTK_VarTypeI(n); const void* const data = cgh->data[n][tl]; diff --git a/Carpet/Carpet/src/Restrict.cc b/Carpet/Carpet/src/Restrict.cc index f79d57386..9a254d79e 100644 --- a/Carpet/Carpet/src/Restrict.cc +++ b/Carpet/Carpet/src/Restrict.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Restrict.cc,v 1.3 2001/11/02 10:58:59 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Restrict.cc,v 1.4 2001/11/05 17:53:02 schnetter Exp $"; @@ -29,7 +29,7 @@ namespace Carpet { for (int group=0; group<CCTK_NumGroups(); ++group) { // Restrict only groups with storage - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { const int tl = 0; diff --git a/Carpet/Carpet/src/Storage.cc b/Carpet/Carpet/src/Storage.cc index 237e42421..2b53433fa 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.4 2001/11/02 17:51:15 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.5 2001/11/05 17:53:02 schnetter Exp $"; @@ -33,7 +33,7 @@ namespace Carpet { const int group = CCTK_GroupIndex(groupname); assert (group>=0 && group<CCTK_NumGroups()); - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { // storage was enabled previously return 1; } @@ -85,7 +85,7 @@ namespace Carpet { const int group = CCTK_GroupIndex(groupname); assert (group>=0 && group<CCTK_NumGroups()); - if (! CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (! CCTK_QueryGroupStorageI(cgh, group)) { // storage was disabled previously return 0; } @@ -122,7 +122,7 @@ namespace Carpet { - int QueryGroupStorageB (cGH* cgh, int group, const char* groupname) + int QueryGroupStorageB (const cGH* cgh, int group, const char* groupname) { if (groupname) { group = CCTK_GroupIndex(groupname); @@ -140,7 +140,7 @@ namespace Carpet { - const int* ArrayGroupSizeB (cGH* cgh, int dir, int group, + const int* ArrayGroupSizeB (const cGH* cgh, int dir, int group, const char* groupname) { static const int zero = 0; @@ -159,7 +159,7 @@ namespace Carpet { assert (dir>=0 && dir<gpdim); - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { const int var = CCTK_FirstVarIndexI(group); assert (var>=0 && var<CCTK_NumVars()); @@ -177,7 +177,7 @@ namespace Carpet { - int GroupDynamicData (cGH* cgh, int group, cGroupDynamicData* data) + int GroupDynamicData (const 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 d937e18fc..9cdc73379 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.5 2001/11/02 17:51:15 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.6 2001/11/05 17:53:02 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 @@ -108,10 +108,10 @@ namespace Carpet { int Abort (cGH* cgh, int retval); int MyProc (const cGH* cgh); int nProcs (const cGH* cgh); - const int* ArrayGroupSizeB (cGH* cgh, int dir, int group, + const int* ArrayGroupSizeB (const cGH* cgh, int dir, int group, const char* groupname); - int QueryGroupStorageB (cGH* cgh, int group, const char* groupname); - int GroupDynamicData (cGH* cgh, int group, cGroupDynamicData* data); + int QueryGroupStorageB (const cGH* cgh, int group, const char* groupname); + int GroupDynamicData (const cGH* cgh, int group, cGroupDynamicData* data); @@ -142,9 +142,9 @@ namespace Carpet { #define END_REFLEVEL_LOOP(cgh) \ } \ if (reflevel==maxreflevels-1) break; \ - set_reflevel ((cgh), reflevel+1); \ + set_reflevel ((cGH*)(cgh), reflevel+1); \ } \ - set_reflevel ((cgh), 0); \ + set_reflevel ((cGH*)(cgh), 0); \ assert (reflevel==0); \ _rl = 0; \ } while (0) @@ -157,13 +157,13 @@ namespace Carpet { do { \ int _rrl; \ assert (reflevel==0); \ - set_reflevel ((cgh), maxreflevels-1); \ + set_reflevel ((cGH*)(cgh), maxreflevels-1); \ for (;;) { \ { #define END_REVERSE_REFLEVEL_LOOP(cgh) \ } \ if (reflevel==0) break; \ - set_reflevel ((cgh), reflevel-1); \ + set_reflevel ((cGH*)(cgh), reflevel-1); \ } \ assert (reflevel==0); \ _rrl = 0; \ @@ -178,15 +178,15 @@ namespace Carpet { int _cl; \ assert (reflevel>=0 && reflevel<hh->reflevels()); \ assert (component==-1); \ - set_component ((cgh), 0); \ + set_component ((cGH*)(cgh), 0); \ for (;;) { \ { #define END_COMPONENT_LOOP(cgh) \ } \ if (component==hh->components(reflevel)-1) break; \ - set_component ((cgh), component+1); \ + set_component ((cGH*)(cgh), component+1); \ } \ - set_component ((cgh), -1); \ + set_component ((cGH*)(cgh), -1); \ assert (component==-1); \ _cl = 0; \ } while (0) diff --git a/Carpet/Carpet/src/helpers.cc b/Carpet/Carpet/src/helpers.cc index fe88b2150..3c8d6a829 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.7 2001/11/02 17:51:15 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/helpers.cc,v 1.8 2001/11/05 17:53:02 schnetter Exp $"; @@ -229,7 +229,7 @@ namespace Carpet { } else { // Scalars can be accessed - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { // Group has storage assert (group<(int)arrdata.size()); @@ -329,7 +329,7 @@ namespace Carpet { for (int tl=0; tl<num_tl; ++tl) { - if (CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (CCTK_QueryGroupStorageI(cgh, group)) { // Group has storage assert (group<(int)arrdata.size()); diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc index bf1393571..d55852b40 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.cc +++ b/Carpet/CarpetIOASCII/src/ioascii.cc @@ -24,7 +24,7 @@ #include "ioascii.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.19 2001/11/02 17:09:18 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.20 2001/11/05 17:53:02 schnetter Exp $"; @@ -107,7 +107,7 @@ void* CarpetIOASCII<outdim> template<int outdim> int CarpetIOASCII<outdim> -::OutputGH (cGH* const cgh) +::OutputGH (const cGH* const cgh) { for (int vindex=0; vindex<CCTK_NumVars(); ++vindex) { if (TimeToOutput(cgh, vindex)) { @@ -121,7 +121,7 @@ int CarpetIOASCII<outdim> template<int outdim> int CarpetIOASCII<outdim> -::OutputVarAs (cGH* const cgh, +::OutputVarAs (const cGH* const cgh, const char* const varname, const char* const alias) { DECLARE_CCTK_PARAMETERS; @@ -137,7 +137,7 @@ int CarpetIOASCII<outdim> const int tl = 0; // Check for storage - if (! CCTK_QueryGroupStorageI((cGH*)cgh, group)) { + if (! CCTK_QueryGroupStorageI(cgh, group)) { CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, "Cannot output variable \"%s\" because it has no storage", varname); @@ -367,7 +367,7 @@ int CarpetIOASCII<outdim> template<int outdim> int CarpetIOASCII<outdim> -::TimeToOutput (cGH* const cgh, const int vindex) +::TimeToOutput (const cGH* const cgh, const int vindex) { DECLARE_CCTK_PARAMETERS; @@ -412,7 +412,7 @@ int CarpetIOASCII<outdim> template<int outdim> int CarpetIOASCII<outdim> -::TriggerOutput (cGH* const cgh, const int vindex) +::TriggerOutput (const cGH* const cgh, const int vindex) { assert (vindex>=0 && vindex<CCTK_NumVars()); diff --git a/Carpet/CarpetIOASCII/src/ioascii.hh b/Carpet/CarpetIOASCII/src/ioascii.hh index 3e80b1eaa..7bb8f3bb5 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.hh +++ b/Carpet/CarpetIOASCII/src/ioascii.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.hh,v 1.8 2001/11/02 17:09:18 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.hh,v 1.9 2001/11/05 17:53:03 schnetter Exp $ #include <vector> @@ -47,10 +47,11 @@ struct CarpetIOASCII { static void* SetupGH (tFleshConfig* fc, int convLevel, cGH* cgh); - static int OutputGH (cGH* cgh); - static int OutputVarAs (cGH* cgh, const char* varname, const char* alias); - static int TimeToOutput (cGH* cgh, int vindex); - static int TriggerOutput (cGH* cgh, int vindex); + static int OutputGH (const cGH* cgh); + static int OutputVarAs (const cGH* cgh, + const char* varname, const char* alias); + static int TimeToOutput (const cGH* cgh, int vindex); + static int TriggerOutput (const cGH* cgh, int vindex); static int GetGridOffset (const cGH* cgh, int dir, const char* itempl, const char* iglobal, diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc index bbf8235d4..b1cd2f97a 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc @@ -32,7 +32,7 @@ #include "ioflexio.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.11 2001/07/09 09:00:22 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.12 2001/11/05 17:53:03 schnetter Exp $"; @@ -54,7 +54,7 @@ namespace CarpetIOFlexIO { static const char* GetStringParameter (const char* const parametername, const char* const fallback); static int GetIntParameter (const char* const parametername, int fallback); - static bool CheckForVariable (cGH* const cgh, + static bool CheckForVariable (const cGH* const cgh, const char* const varlist, const int vindex); static void SetFlag (int index, const char* optstring, void* arg); @@ -100,7 +100,7 @@ namespace CarpetIOFlexIO { - int OutputGH (cGH* const cgh) { + int OutputGH (const cGH* const cgh) { for (int vindex=0; vindex<CCTK_NumVars(); ++vindex) { if (TimeToOutput(cgh, vindex)) { TriggerOutput(cgh, vindex); @@ -111,7 +111,7 @@ namespace CarpetIOFlexIO { - int OutputVarAs (cGH* const cgh, const char* const varname, + int OutputVarAs (const cGH* const cgh, const char* const varname, const char* const alias) { DECLARE_CCTK_PARAMETERS; @@ -293,7 +293,7 @@ namespace CarpetIOFlexIO { - int TimeToOutput (cGH* const cgh, const int vindex) { + int TimeToOutput (const cGH* const cgh, const int vindex) { DECLARE_CCTK_PARAMETERS; assert (vindex>=0 && vindex<(int)last_output[reflevel].size()); @@ -335,7 +335,7 @@ namespace CarpetIOFlexIO { - int TriggerOutput (cGH* const cgh, const int vindex) { + int TriggerOutput (const cGH* const cgh, const int vindex) { assert (vindex>=0 && vindex<CCTK_NumVars()); char* varname = CCTK_FullName(vindex); @@ -613,7 +613,7 @@ namespace CarpetIOFlexIO { - bool CheckForVariable (cGH* const cgh, + bool CheckForVariable (const cGH* const cgh, const char* const varlist, const int vindex) { const int numvars = CCTK_NumVars(); diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh index 332f60ed4..31bcb9cc5 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.3 2001/03/17 22:37:28 eschnett Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.hh,v 1.4 2001/11/05 17:53:04 schnetter Exp $ #include <vector> @@ -22,11 +22,11 @@ namespace CarpetIOFlexIO { void* SetupGH (tFleshConfig* const fc, const int convLevel, cGH* const cgh); - int OutputGH (cGH* const cgh); - int OutputVarAs (cGH* const cgh, const char* const varname, + int OutputGH (const cGH* const cgh); + int OutputVarAs (const cGH* const cgh, const char* const varname, const char* const alias); - int TimeToOutput (cGH* const cgh, const int vindex); - int TriggerOutput (cGH* const cgh, const int vindex); + 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, |