[1D] Remove unused / unimplemented methods from StFlow

This commit is contained in:
Ray Speth 2016-03-27 21:45:45 -04:00
parent d52a0fdbcb
commit 9c632cf123
2 changed files with 0 additions and 38 deletions

View file

@ -65,9 +65,6 @@ public:
return *m_kin;
}
virtual void init() {
}
/**
* Set the thermo manager. Note that the flow equations assume
* the ideal gas equation.
@ -242,15 +239,11 @@ public:
return m_do_energy[j];
}
void integrateChem(doublereal* x,doublereal dt);
//! Change the grid size. Called after grid refinement.
void resize(size_t components, size_t points);
virtual void setFixedPoint(int j0, doublereal t0) {}
void setJac(MultiJac* jac);
//! Set the gas object state to be consistent with the solution at point j.
void setGas(const doublereal* x, size_t j);
@ -299,18 +292,6 @@ public:
}
protected:
doublereal component(const doublereal* x, size_t i, size_t j) const {
return x[index(i,j)];
}
doublereal conc(const doublereal* x, size_t k,size_t j) const {
return Y(x,k,j)*density(j)/m_wt[k];
}
doublereal cbar(const doublereal* x, size_t k, size_t j) const {
return std::sqrt(8.0*GasConstant * T(x,j) / (Pi * m_wt[k]));
}
doublereal wdot(size_t k, size_t j) const {
return m_wdot(k,j);
}
@ -334,17 +315,6 @@ protected:
}
}
//--------------------------------
// central-differenced derivatives
//--------------------------------
doublereal cdif2(const doublereal* x, size_t n, size_t j,
const doublereal* f) const {
doublereal c1 = (f[j] + f[j-1])*(x[index(n,j)] - x[index(n,j-1)]);
doublereal c2 = (f[j+1] + f[j])*(x[index(n,j+1)] - x[index(n,j)]);
return (c2/(z(j+1) - z(j)) - c1/(z(j) - z(j-1)))/(z(j+1) - z(j-1));
}
//! @name Solution components
//! @{
@ -470,8 +440,6 @@ protected:
Kinetics* m_kin;
Transport* m_trans;
MultiJac* m_jac;
// boundary emissivities for the radiation calculations
doublereal m_epsilon_left;
doublereal m_epsilon_right;

View file

@ -19,7 +19,6 @@ StFlow::StFlow(IdealGasPhase* ph, size_t nsp, size_t points) :
m_thermo(0),
m_kin(0),
m_trans(0),
m_jac(0),
m_epsilon_left(0.0),
m_epsilon_right(0.0),
m_do_soret(false),
@ -820,11 +819,6 @@ XML_Node& StFlow::save(XML_Node& o, const doublereal* const sol)
return flow;
}
void StFlow::setJac(MultiJac* jac)
{
m_jac = jac;
}
void AxiStagnFlow::evalRightBoundary(doublereal* x, doublereal* rsd,
integer* diag, doublereal rdt)
{