From e1b4578304c7debe97919beb858e4fc4519b1b9f Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Tue, 1 Feb 2005 23:17:00 +0000 Subject: CarpetLib: Whitespace change darcs-hash:20050201231759-891bb-db87543a706110d2cd819a7f38c1e67cf27e16a3.gz --- Carpet/CarpetLib/src/th.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Carpet/CarpetLib/src/th.cc') 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 = ""; -- cgit v1.2.3