From 2914258cd28dc2e65c7638bb551ee1bb8a16c854 Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 12 Jun 2012 12:58:26 +0100 Subject: [PATCH] STYLE: Code formatting --- .../psiChemistryCombustionModelI.H | 5 +++++ .../psiCombustionModel/psiCombustionModelI.H | 1 + .../rhoChemistryCombustionModelI.H | 5 +++++ .../rhoCombustionModel/rhoCombustionModelI.H | 1 + 4 files changed, 12 insertions(+) diff --git a/src/combustionModels/psiChemistryCombustionModel/psiChemistryCombustionModelI.H b/src/combustionModels/psiChemistryCombustionModel/psiChemistryCombustionModelI.H index 30d1801739..15235be761 100644 --- a/src/combustionModels/psiChemistryCombustionModel/psiChemistryCombustionModelI.H +++ b/src/combustionModels/psiChemistryCombustionModel/psiChemistryCombustionModelI.H @@ -31,6 +31,7 @@ Foam::combustionModels::psiChemistryCombustionModel::pChemistry() return pChemistry_(); } + inline const Foam::psiChemistryModel& Foam::combustionModels::psiChemistryCombustionModel:: pChemistry() const @@ -38,22 +39,26 @@ pChemistry() const return pChemistry_(); } + inline Foam::tmp Foam::combustionModels::psiChemistryCombustionModel::rho() const { return pChemistry_->thermo().rho(); } + inline const Foam::psiReactionThermo& Foam::combustionModels::psiChemistryCombustionModel::thermo() const { return pChemistry_->thermo(); } + inline Foam::psiReactionThermo& Foam::combustionModels::psiChemistryCombustionModel::thermo() { return pChemistry_->thermo(); } + // ************************************************************************* // diff --git a/src/combustionModels/psiCombustionModel/psiCombustionModelI.H b/src/combustionModels/psiCombustionModel/psiCombustionModelI.H index 5df2365b9d..ed7ed073ef 100644 --- a/src/combustionModels/psiCombustionModel/psiCombustionModelI.H +++ b/src/combustionModels/psiCombustionModel/psiCombustionModelI.H @@ -31,6 +31,7 @@ Foam::combustionModels::psiCombustionModel::thermo() return thermo_(); } + inline const Foam::psiReactionThermo& Foam::combustionModels::psiCombustionModel::thermo() const { diff --git a/src/combustionModels/rhoChemistryCombustionModel/rhoChemistryCombustionModelI.H b/src/combustionModels/rhoChemistryCombustionModel/rhoChemistryCombustionModelI.H index 4551d2e108..19b9974789 100644 --- a/src/combustionModels/rhoChemistryCombustionModel/rhoChemistryCombustionModelI.H +++ b/src/combustionModels/rhoChemistryCombustionModel/rhoChemistryCombustionModelI.H @@ -31,6 +31,7 @@ Foam::combustionModels::rhoChemistryCombustionModel::pChemistry() return pChemistry_(); } + inline const Foam::rhoChemistryModel& Foam::combustionModels::rhoChemistryCombustionModel:: pChemistry() const @@ -38,22 +39,26 @@ pChemistry() const return pChemistry_(); } + inline Foam::tmp Foam::combustionModels::rhoChemistryCombustionModel::rho() const { return pChemistry_->thermo().rho(); } + inline const Foam::rhoReactionThermo& Foam::combustionModels::rhoChemistryCombustionModel::thermo() const { return pChemistry_->thermo(); } + inline Foam::rhoReactionThermo& Foam::combustionModels::rhoChemistryCombustionModel::thermo() { return pChemistry_->thermo(); } + // ************************************************************************* // diff --git a/src/combustionModels/rhoCombustionModel/rhoCombustionModelI.H b/src/combustionModels/rhoCombustionModel/rhoCombustionModelI.H index cbf0a65693..61dbcea2bd 100644 --- a/src/combustionModels/rhoCombustionModel/rhoCombustionModelI.H +++ b/src/combustionModels/rhoCombustionModel/rhoCombustionModelI.H @@ -31,6 +31,7 @@ Foam::combustionModels::rhoCombustionModel::thermo() return thermo_(); } + inline const Foam::rhoReactionThermo& Foam::combustionModels::rhoCombustionModel::thermo() const {