aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/th.hh
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/th.hh')
-rw-r--r--Carpet/CarpetLib/src/th.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/th.hh b/Carpet/CarpetLib/src/th.hh
index b3dc315b0..34e9af999 100644
--- a/Carpet/CarpetLib/src/th.hh
+++ b/Carpet/CarpetLib/src/th.hh
@@ -91,11 +91,16 @@ public:
}
// Output
+ size_t memory () const;
void output (ostream& os) const;
};
+inline size_t memoryof (th const & t)
+{
+ return t.memory ();
+}
inline ostream& operator<< (ostream& os, const th& t) {
t.output(os);
return os;