Removed some dead code
This commit is contained in:
parent
f4d35e4bd7
commit
3df93b8f4c
7 changed files with 1 additions and 30 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
|
||||
void get_wdot(const doublereal* rop, doublereal* wdot);
|
||||
|
||||
namespace Cantera
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -26,8 +26,4 @@ Integrator* newIntegrator(const std::string& itype)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void deleteIntegrator(Integrator* cv)
|
||||
{
|
||||
delete cv;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ ReactorNet::~ReactorNet()
|
|||
}
|
||||
m_r.clear();
|
||||
m_reactors.clear();
|
||||
deleteIntegrator(m_integ);
|
||||
delete m_integ;
|
||||
}
|
||||
|
||||
void ReactorNet::initialize()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue