aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.hh
diff options
context:
space:
mode:
authorschnetter <>2003-10-14 14:39:00 +0000
committerschnetter <>2003-10-14 14:39:00 +0000
commita6aaaa7c6f97137bd45992435715dd50d8726b30 (patch)
treedec086d7cdf464cbb379c5488b7668c8f9b385f8 /Carpet/CarpetLib/src/ggf.hh
parent5bfd801810719c3c6b2deb754e9ab90e335178f3 (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.hh')
-rw-r--r--Carpet/CarpetLib/src/ggf.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/src/ggf.hh b/Carpet/CarpetLib/src/ggf.hh
index 8d3c90b3b..98c556800 100644
--- a/Carpet/CarpetLib/src/ggf.hh
+++ b/Carpet/CarpetLib/src/ggf.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/ggf.hh,v 1.15 2003/09/19 16:06:41 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/ggf.hh,v 1.16 2003/10/14 16:39:16 schnetter Exp $
#ifndef GGF_HH
#define GGF_HH
@@ -51,8 +51,8 @@ class ggf {
public: // should be readonly
// Fields
- string name;
-
+ int varindex; // Cactus variable index
+
th<D> &t; // time hierarchy
int tmin, tmax; // timelevels
int prolongation_order_time; // order of temporal prolongation operator
@@ -66,7 +66,7 @@ protected:
public:
// Constructors
- ggf (const string name, th<D>& t, dh<D>& d,
+ ggf (const int varindex, th<D>& t, dh<D>& d,
const int tmin, const int tmax,
const int prolongation_order_time);