diff --git a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H index 8a3fa54c5..dd41b71e3 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H @@ -216,6 +216,15 @@ public: const speciesTable& species ) const = 0; + //- Construct the left- and right-hand-side reaction coefficients + void setLRhs + ( + Istream&, + const speciesTable&, + List& lhs, + List& rhs + ); + // Selectors @@ -237,30 +246,24 @@ public: // Access - inline word& name(); + //- Return the name of the reaction inline const word& name() const; + //- Return the lower temperature limit for the reaction inline scalar Tlow() const; + + //- Return the upper temperature limit for the reaction inline scalar Thigh() const; - //- Access to the components of the left hand side + //- Return the components of the left hand side inline const List& lhs() const; - //- Access to the components of the right hand side + //- Return the components of the right hand side inline const List& rhs() const; - //- Access to specie list + //- Return the specie list const speciesTable& species() const; - //- Construct the left- and right-hand-side reaction coefficients - void setLRhs - ( - Istream&, - const speciesTable&, - List& lhs, - List& rhs - ); - // Reaction rate coefficients diff --git a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/ReactionI.H b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/ReactionI.H index b52565c63..dfe886ae5 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/Reaction/ReactionI.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/Reaction/ReactionI.H @@ -32,13 +32,6 @@ namespace Foam // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -template -inline word& Reaction::name() -{ - return name_; -} - - template inline const word& Reaction::name() const {