diff options
author | Erik Schnetter <schnetter@aei.mpg.de> | 2005-02-01 23:17:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@aei.mpg.de> | 2005-02-01 23:17:00 +0000 |
commit | e1b4578304c7debe97919beb858e4fc4519b1b9f (patch) | |
tree | 4188cf591219a4903f43ba5b8ed34ba2af62ff34 /Carpet/CarpetLib/src/th.cc | |
parent | 0914bc88c7aea61eedf470a903c8fa252bdc97dd (diff) |
CarpetLib: Whitespace change
darcs-hash:20050201231759-891bb-db87543a706110d2cd819a7f38c1e67cf27e16a3.gz
Diffstat (limited to 'Carpet/CarpetLib/src/th.cc')
-rw-r--r-- | Carpet/CarpetLib/src/th.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/th.cc b/Carpet/CarpetLib/src/th.cc index 77415fffc..84b896b55 100644 --- a/Carpet/CarpetLib/src/th.cc +++ b/Carpet/CarpetLib/src/th.cc @@ -15,12 +15,14 @@ using namespace std; // Constructors th::th (gh& h_, const CCTK_REAL basedelta) - : h(h_), delta(basedelta) { + : h(h_), delta(basedelta) +{ h.add(this); } // Destructors -th::~th () { +th::~th () +{ h.remove(this); } @@ -56,7 +58,8 @@ void th::recompose () // Output -void th::output (ostream& os) const { +void th::output (ostream& os) const +{ os << "th:" << "times={"; const char * sep = ""; |