Removed some dead code

This commit is contained in:
Ray Speth 2012-10-24 15:45:08 +00:00
parent f4d35e4bd7
commit 3df93b8f4c
7 changed files with 1 additions and 30 deletions

View file

@ -25,8 +25,6 @@
#include <cmath>
#include <cstdlib>
void get_wdot(const doublereal* rop, doublereal* wdot);
namespace Cantera
{
@ -211,11 +209,7 @@ public:
*/
virtual void getNetProductionRates(doublereal* net) {
updateROP();
//#ifdef HWMECH
//get_wdot(&m_kdata->m_ropnet[0], net);
//#else
m_rxnstoich.getNetProductionRates(m_kk, &m_ropnet[0], net);
//#endif
}
/**

View file

@ -26,8 +26,6 @@
#include <cmath>
#include <cstdlib>
void get_wdot(const doublereal* rop, doublereal* wdot);
namespace Cantera
{

View file

@ -20,8 +20,6 @@ namespace Cantera
enum flow_t { NetFlow, OneWayFlow };
Group parseGroupString(std::string str, std::vector<std::string>& esyms);
// forward references
class Path;

View file

@ -215,9 +215,6 @@ private:
// defined in ODE_integrators.cpp
Integrator* newIntegrator(const std::string& itype);
// defined in ODE_integrators.cpp
void deleteIntegrator(Integrator* cv);
} // namespace
#endif

View file

@ -28,18 +28,6 @@ namespace ctml
std::string FP_Format = "%23.15E";
std::string INT_Format = "%8d";
//====================================================================================================================
//! Convert a floating point value from a string to a double
/*!
* @param val String value input
*
* @return Returns a double
*/
static doublereal fpValue(std::string val)
{
return atof(stripws(val).c_str());
}
//====================================================================================================================
// This function adds a child node with the name, "integer", with a value
// consisting of a single integer

View file

@ -26,8 +26,4 @@ Integrator* newIntegrator(const std::string& itype)
return 0;
}
void deleteIntegrator(Integrator* cv)
{
delete cv;
}
}

View file

@ -41,7 +41,7 @@ ReactorNet::~ReactorNet()
}
m_r.clear();
m_reactors.clear();
deleteIntegrator(m_integ);
delete m_integ;
}
void ReactorNet::initialize()