ENH:removed unnecessary scoping

This commit is contained in:
andy
2012-07-26 13:09:42 +01:00
parent 85ed4d5b74
commit 0f302e2912

View File

@ -92,8 +92,7 @@ singleStepCombustion<CombThermoType, ThermoType>::~singleStepCombustion()
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::fvScalarMatrix>
singleStepCombustion<CombThermoType, ThermoType>::R
tmp<fvScalarMatrix> singleStepCombustion<CombThermoType, ThermoType>::R
(
const volScalarField& Y
) const
@ -110,8 +109,8 @@ singleStepCombustion<CombThermoType, ThermoType>::R
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
singleStepCombustion< CombThermoType, ThermoType>::Sh() const
tmp<volScalarField>
singleStepCombustion<CombThermoType, ThermoType>::Sh() const
{
const label fuelI = singleMixturePtr_->fuelIndex();
const volScalarField& YFuel = this->thermoPtr_->composition().Y(fuelI);
@ -121,8 +120,8 @@ singleStepCombustion< CombThermoType, ThermoType>::Sh() const
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
singleStepCombustion< CombThermoType, ThermoType>::dQ() const
tmp<volScalarField>
singleStepCombustion<CombThermoType, ThermoType>::dQ() const
{
tmp<volScalarField> tdQ
(
@ -153,7 +152,7 @@ singleStepCombustion< CombThermoType, ThermoType>::dQ() const
template<class CombThermoType, class ThermoType>
bool singleStepCombustion< CombThermoType, ThermoType>::read()
bool singleStepCombustion<CombThermoType, ThermoType>::read()
{
if (CombThermoType::read())
{