diff options
author | schnetter <> | 2003-10-14 14:39:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-10-14 14:39:00 +0000 |
commit | fad00e54fbb8c02501d69318ad9a273bd426297a (patch) | |
tree | dec086d7cdf464cbb379c5488b7668c8f9b385f8 /Carpet/CarpetLib/src/data.hh | |
parent | 4aa9136c5d2e909262f1d8ff84e32e936be97a28 (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/data.hh')
-rw-r--r-- | Carpet/CarpetLib/src/data.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/src/data.hh b/Carpet/CarpetLib/src/data.hh index e395ebe06..f126c6c47 100644 --- a/Carpet/CarpetLib/src/data.hh +++ b/Carpet/CarpetLib/src/data.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.hh,v 1.13 2003/08/28 21:27:03 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.hh,v 1.14 2003/10/14 16:39:16 schnetter Exp $ #ifndef DATA_HH #define DATA_HH @@ -34,14 +34,14 @@ class data: public gdata<D> { public: // Constructors - data (); - data (const ibbox& extent, const int proc); + data (const int varindex); + data (const int varindex, const ibbox& extent, const int proc); // Destructors virtual ~data (); // Pseudo constructors - virtual data* make_typed () const; + virtual data* make_typed (const int varindex) const; // Storage management virtual void allocate (const ibbox& extent, const int proc, |