aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.cc
diff options
context:
space:
mode:
authorschnetter <>2003-10-14 14:39:00 +0000
committerschnetter <>2003-10-14 14:39:00 +0000
commitfad00e54fbb8c02501d69318ad9a273bd426297a (patch)
treedec086d7cdf464cbb379c5488b7668c8f9b385f8 /Carpet/CarpetLib/src/ggf.cc
parent4aa9136c5d2e909262f1d8ff84e32e936be97a28 (diff)
Make gf and data objects store a Cactus variable index that this
Make gf and data objects store a Cactus variable index that this object is associated with. This can be used to access various kinds of information, e.g. variable names. darcs-hash:20031014143916-07bb3-678d114393008db7790b5ed72d6462673414c06a.gz
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.cc')
-rw-r--r--Carpet/CarpetLib/src/ggf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/ggf.cc b/Carpet/CarpetLib/src/ggf.cc
index eacf99a10..a096ce0fb 100644
--- a/Carpet/CarpetLib/src/ggf.cc
+++ b/Carpet/CarpetLib/src/ggf.cc
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/ggf.cc,v 1.27 2003/09/19 16:06:41 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/ggf.cc,v 1.28 2003/10/14 16:39:16 schnetter Exp $
#include <assert.h>
#include <stdlib.h>
@@ -20,10 +20,10 @@ using namespace std;
// Constructors
template<int D>
-ggf<D>::ggf (const string name, th<D>& t, dh<D>& d,
+ggf<D>::ggf (const int varindex, th<D>& t, dh<D>& d,
const int tmin, const int tmax,
const int prolongation_order_time)
- : name(name), t(t),
+ : varindex(varindex), t(t),
tmin(tmin), tmax(tmax),
prolongation_order_time(prolongation_order_time),
h(d.h), d(d),