diff options
Diffstat (limited to 'Carpet/CarpetLib/src/th.cc')
-rw-r--r-- | Carpet/CarpetLib/src/th.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/th.cc b/Carpet/CarpetLib/src/th.cc index e8d5bbb49..a10dcb289 100644 --- a/Carpet/CarpetLib/src/th.cc +++ b/Carpet/CarpetLib/src/th.cc @@ -62,6 +62,21 @@ void th::regrid () +// Memory usage +size_t +th:: +memory () + const +{ + return + memoryof (reffacts) + + memoryof (delta) + + memoryof (times) + + memoryof (deltas); +} + + + // Output void th::output (ostream& os) const { |