#include #include #include #include "cctk.h" #include "defs.hh" #include "gh.hh" #include "th.hh" using namespace std; // Constructors th::th (gh& h_, const CCTK_REAL basedelta) : h(h_), delta(basedelta) { h.add(this); } // Destructors th::~th () { h.remove(this); } // Modifiers void th::recompose () { const int old_mglevels = times.size(); times.resize(h.mglevels()); deltas.resize(h.mglevels()); for (int ml=0; ml