From 48101ea1f4614fdeeb9d16ebee549ebf771f4e22 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 10 Jun 2014 16:23:24 +0000 Subject: [PATCH] [Reactor] Remove unneeded functions from ReactorBase --- include/cantera/zeroD/ReactorBase.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/include/cantera/zeroD/ReactorBase.h b/include/cantera/zeroD/ReactorBase.h index 650127015..d1e73030a 100644 --- a/include/cantera/zeroD/ReactorBase.h +++ b/include/cantera/zeroD/ReactorBase.h @@ -113,12 +113,9 @@ public: * Initialize the reactor. Called automatically by ReactorNet::initialize. */ virtual void initialize(doublereal t0 = 0.0) { - tilt(); + throw NotImplementedError("ReactorBase::initialize"); } - //! @deprecated Not used in any derived class. - virtual void start() {} - //@} //! Set the state of the Phase object associated with this reactor to the @@ -202,11 +199,6 @@ public: //@} - int error(const std::string& msg) const { - writelog("Error: "+msg); - return 1; - } - //! The ReactorNet that this reactor belongs to. ReactorNet& network(); @@ -235,12 +227,6 @@ protected: //! The ReactorNet that this reactor is part of ReactorNet* m_net; - -private: - void tilt(const std::string& method="") const { - throw CanteraError("ReactorBase::"+method, - "ReactorBase method called!"); - } }; }