[Reactor] Remove unused variable ReactorBase::m_init

This commit is contained in:
Ray Speth 2014-07-18 15:14:07 +00:00
parent ad3ac0a1ad
commit 1b1703cc56
7 changed files with 0 additions and 9 deletions

View file

@ -210,7 +210,6 @@ protected:
thermo_t* m_thermo;
doublereal m_vol;
bool m_init;
doublereal m_enthalpy;
doublereal m_intEnergy;
doublereal m_pressure;

View file

@ -17,7 +17,6 @@ ConstPressureReactor::ConstPressureReactor() : Reactor() {}
void ConstPressureReactor::getInitialConditions(double t0, size_t leny, double* y)
{
m_init = true;
if (m_thermo == 0) {
throw CanteraError("getInitialConditions",
"Error: reactor is empty.");

View file

@ -21,7 +21,6 @@ FlowReactor::FlowReactor() :
void FlowReactor::getInitialConditions(double t0, size_t leny, double* y)
{
m_init = true;
if (m_thermo == 0) {
writelog("Error: reactor is empty.\n");
return;
@ -40,7 +39,6 @@ void FlowReactor::initialize(doublereal t0)
{
m_thermo->restoreState(m_state);
m_nv = m_nsp + 2;
m_init = true;
}
void FlowReactor::updateState(doublereal* y)

View file

@ -28,7 +28,6 @@ void IdealGasConstPressureReactor::setThermoMgr(ThermoPhase& thermo)
void IdealGasConstPressureReactor::getInitialConditions(double t0, size_t leny,
double* y)
{
m_init = true;
if (m_thermo == 0) {
throw CanteraError("getInitialConditions",
"Error: reactor is empty.");

View file

@ -27,7 +27,6 @@ void IdealGasReactor::setThermoMgr(ThermoPhase& thermo)
void IdealGasReactor::getInitialConditions(double t0, size_t leny, double* y)
{
m_init = true;
if (m_thermo == 0) {
cout << "Error: reactor is empty." << endl;
return;

View file

@ -28,7 +28,6 @@ Reactor::Reactor() : ReactorBase(),
void Reactor::getInitialConditions(double t0, size_t leny, double* y)
{
m_init = true;
if (m_thermo == 0) {
cout << "Error: reactor is empty." << endl;
return;
@ -98,7 +97,6 @@ void Reactor::initialize(doublereal t0)
}
m_work.resize(maxnt);
std::sort(m_pnum.begin(), m_pnum.end());
m_init = true;
}
size_t Reactor::nSensParams()

View file

@ -15,7 +15,6 @@ namespace Cantera
ReactorBase::ReactorBase(const string& name) : m_nsp(0),
m_thermo(0),
m_vol(1.0),
m_init(false),
m_enthalpy(0.0),
m_intEnergy(0.0),
m_pressure(0.0),