chemistryModel: Minor clean-up

This commit is contained in:
Henry Weller 2016-08-11 16:26:50 +01:00
parent 1cd4e2b8c1
commit 9fc31584f9

View file

@ -537,7 +537,6 @@ Foam::chemistryModel<CompType, ThermoType>::tc() const
}
}
ttc.ref().correctBoundaryConditions();
return ttc;
@ -628,8 +627,8 @@ template<class CompType, class ThermoType>
Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh>>
Foam::chemistryModel<CompType, ThermoType>::calculateRR
(
const label reactionI,
const label speciei
const label ri,
const label si
) const
{
scalar pf, cf, pr, cr;
@ -685,7 +684,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
const scalar w = omegaI
(
reactionI,
ri,
c_,
Ti,
pi,
@ -697,8 +696,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
rRef
);
RR[celli] = w*specieThermo_[speciei].W();
RR[celli] = w*specieThermo_[si].W();
}
return tRR;