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