Skip to content
Snippets Groups Projects
Commit 195dd9fa authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Removed unused 'scale' member data from ode

parent 67e82750
No related merge requests found
...@@ -39,8 +39,7 @@ Foam::ode<CompType, ThermoType>::ode ...@@ -39,8 +39,7 @@ Foam::ode<CompType, ThermoType>::ode
coeffsDict_(model.subDict(modelName + "Coeffs")), coeffsDict_(model.subDict(modelName + "Coeffs")),
solverName_(coeffsDict_.lookup("ODESolver")), solverName_(coeffsDict_.lookup("ODESolver")),
odeSolver_(ODESolver::New(solverName_, model)), odeSolver_(ODESolver::New(solverName_, model)),
eps_(readScalar(coeffsDict_.lookup("eps"))), eps_(readScalar(coeffsDict_.lookup("eps")))
scale_(readScalar(coeffsDict_.lookup("scale")))
{} {}
...@@ -67,7 +66,7 @@ Foam::scalar Foam::ode<CompType, ThermoType>::solve ...@@ -67,7 +66,7 @@ Foam::scalar Foam::ode<CompType, ThermoType>::solve
scalarField c1(this->model_.nEqns(), 0.0); scalarField c1(this->model_.nEqns(), 0.0);
// copy the concentration, T and P to the total solve-vector // copy the concentration, T and P to the total solve-vector
for (label i=0; i<nSpecie; i++) for (label i = 0; i < nSpecie; i++)
{ {
c1[i] = c[i]; c1[i] = c[i];
} }
......
...@@ -65,7 +65,6 @@ class ode ...@@ -65,7 +65,6 @@ class ode
// Model constants // Model constants
scalar eps_; scalar eps_;
scalar scale_;
public: public:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment