mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH:removed unnecessary scoping
This commit is contained in:
@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user