def checkpoint(self): """ Save problem state for restart. """ Problem.checkpoint() # Save state of this object raise NotImplementedError, "TimeDependent::checkpoint() not implemented." # Save state of children self.formulation.checkpoint() return