diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-05-01 10:00:28 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:17 +0100 |
commit | 7eaae941c39feab730d7f486334283438d9812c2 (patch) | |
tree | 5066885e18d7b8f569dc3a5e59dab491308cba67 /Carpet/CarpetLib/src/defs.hh | |
parent | 87cbe70263d6ba8bdc25e77161b382ed266ad311 (diff) |
Carpet…: Rename buffer2 to overlap zones; correct implementation in dh
Rename buffer2 zones to overlap zones.
Complete implementing overlap zones in the dh class.
Diffstat (limited to 'Carpet/CarpetLib/src/defs.hh')
-rw-r--r-- | Carpet/CarpetLib/src/defs.hh | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh index 31fad850c..ad9cd1919 100644 --- a/Carpet/CarpetLib/src/defs.hh +++ b/Carpet/CarpetLib/src/defs.hh @@ -558,23 +558,23 @@ bool equals (vector<T> const& v, vector<T> const& w) // Container memory usage -inline size_t memoryof (char const e) { return sizeof e; } -inline size_t memoryof (short const e) { return sizeof e; } -inline size_t memoryof (int const e) { return sizeof e; } -inline size_t memoryof (long const e) { return sizeof e; } -inline size_t memoryof (long long const e) { return sizeof e; } -inline size_t memoryof (unsigned char const e) { return sizeof e; } -inline size_t memoryof (unsigned short const e) { return sizeof e; } -inline size_t memoryof (unsigned int const e) { return sizeof e; } -inline size_t memoryof (unsigned long const e) { return sizeof e; } -inline size_t memoryof (unsigned long long const e) { return sizeof e; } -inline size_t memoryof (float const e) { return sizeof e; } -inline size_t memoryof (double const e) { return sizeof e; } -inline size_t memoryof (long double const e) { return sizeof e; } -inline size_t memoryof (void * const e) { return sizeof e; } -inline size_t memoryof (void const * const e) { return sizeof e; } -template<class T> inline size_t memoryof (T * const e) { return sizeof e; } -template<class T> inline size_t memoryof (T const * const e) { return sizeof e; } +inline size_t memoryof (char const & e) { return sizeof e; } +inline size_t memoryof (short const & e) { return sizeof e; } +inline size_t memoryof (int const & e) { return sizeof e; } +inline size_t memoryof (long const & e) { return sizeof e; } +inline size_t memoryof (long long const & e) { return sizeof e; } +inline size_t memoryof (unsigned char const & e) { return sizeof e; } +inline size_t memoryof (unsigned short const & e) { return sizeof e; } +inline size_t memoryof (unsigned int const & e) { return sizeof e; } +inline size_t memoryof (unsigned long const & e) { return sizeof e; } +inline size_t memoryof (unsigned long long const & e) { return sizeof e; } +inline size_t memoryof (float const & e) { return sizeof e; } +inline size_t memoryof (double const & e) { return sizeof e; } +inline size_t memoryof (long double const & e) { return sizeof e; } +inline size_t memoryof (void * const & e) { return sizeof e; } +inline size_t memoryof (void const * const & e) { return sizeof e; } +template<class T> inline size_t memoryof (T * const & e) { return sizeof e; } +template<class T> inline size_t memoryof (T const * const & e) { return sizeof e; } template<class T> inline size_t memoryof (typename list<T>::iterator const & i) { return sizeof i; } template<class T> inline size_t memoryof (typename list<T>::const_iterator const & i) { return sizeof i; } |