Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / src / thermophysicalModels / reactionThermo / mixtures / singleStepReactingMixture / singleStepReactingMixtureI.H
blobf8cfe1d9f14d290fa3d2d7a5212a34bd782142a9
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2010-2011 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by
13     the Free Software Foundation, either version 3 of the License, or
14     (at your option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 #include "singleStepReactingMixture.H"
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
30 template<class ThermoType>
31 inline const Foam::dimensionedScalar
32 Foam::singleStepReactingMixture<ThermoType>::stoicRatio() const
34     return stoicRatio_;
38 template<class ThermoType>
39 inline const Foam::dimensionedScalar
40 Foam::singleStepReactingMixture<ThermoType>::s() const
42     return s_;
46 template<class ThermoType>
47 inline const Foam::dimensionedScalar
48 Foam::singleStepReactingMixture<ThermoType>::qFuel() const
50     return qFuel_;
54 template<class ThermoType>
55 inline const Foam::List<Foam::scalar>&
56 Foam::singleStepReactingMixture<ThermoType>::specieStoichCoeffs() const
58     return specieStoichCoeffs_;
62 template<class ThermoType>
63 inline Foam::tmp<Foam::volScalarField>
64 Foam::singleStepReactingMixture<ThermoType>::fres
66     const label index
67 ) const
69     return fres_[index];
73 template<class ThermoType>
74 inline Foam::label
75 Foam::singleStepReactingMixture<ThermoType>::inertIndex() const
77     return inertIndex_;
81 template<class ThermoType>
82 inline Foam::label
83 Foam::singleStepReactingMixture<ThermoType>::fuelIndex() const
85     return fuelIndex_;
89 template<class ThermoType>
90 inline const Foam::List<int>&
91 Foam::singleStepReactingMixture<ThermoType>::specieProd() const
93     return specieProd_;
97 // ************************************************************************* //