diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-04 17:58:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-04 17:58:00 +0000 |
commit | 8f28ee78d87631b019da15123d77a0513d436008 (patch) | |
tree | cdcf06a1b6c260f92a5d31e66cc8d3010c04bcfd /Carpet/CarpetLib/src/gdata.cc | |
parent | d1a89bfd53ceb0ca43721749e5f4da91080078aa (diff) |
CarpetLib: Add _storage field to gdata class
Add a field "void * _storage" to the gdata class to speed up its
storage() member function.
darcs-hash:20070204175843-dae7b-644ade82e1432b82384baf64f55aeb2482032fdf.gz
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r-- | Carpet/CarpetLib/src/gdata.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc index b07422a91..8d3de7dab 100644 --- a/Carpet/CarpetLib/src/gdata.cc +++ b/Carpet/CarpetLib/src/gdata.cc @@ -43,7 +43,8 @@ gdata::gdata (const int varindex_, const centering cent_, const operator_type transport_operator_, const int tag_) - : varindex(varindex_), + : _storage(NULL), + varindex(varindex_), cent(cent_), transport_operator(transport_operator_), _has_storage(false), |