mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Removed unused 'scale' member data from ode
This commit is contained in:
@ -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
|
|||||||
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
|
|||||||
// Model constants
|
// Model constants
|
||||||
|
|
||||||
scalar eps_;
|
scalar eps_;
|
||||||
scalar scale_;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user