1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
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
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/>.
25 Foam::reactingMultiphaseParcelInjectionData
28 Container class to provide injection data for reacting multiphase parcels
31 reactingMultiphaseParcelInjectionData.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef reactingMultiphaseParcelInjectionData_H
36 #define reactingMultiphaseParcelInjectionData_H
38 #include "reactingParcelInjectionData.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 // Forward declaration of classes
46 class reactingMultiphaseParcelInjectionData;
48 // Forward declaration of friend functions
53 const reactingMultiphaseParcelInjectionData&
59 reactingMultiphaseParcelInjectionData&
62 /*---------------------------------------------------------------------------*\
63 Class reactingMultiphaseParcelInjectionData Declaration
64 \*---------------------------------------------------------------------------*/
66 class reactingMultiphaseParcelInjectionData
68 public reactingParcelInjectionData
74 //- List of gaseous mass fractions
77 //- List of liquid mass fractions
80 //- List of solid mass fractions
86 //- Runtime type information
87 TypeName("reactingMultiphaseParcelInjectionData");
92 reactingMultiphaseParcelInjectionData();
94 //- Construct from dictionary
95 reactingMultiphaseParcelInjectionData(const dictionary& dict);
97 //- Construct from Istream
98 reactingMultiphaseParcelInjectionData(Istream& is);
102 virtual ~reactingMultiphaseParcelInjectionData();
107 //- Return const access to the list of gaseous mass fractions
108 inline const scalarList& YGas() const;
110 //- Return const access to the list of liquid mass fractions
111 inline const scalarList& YLiquid() const;
113 //- Return const access to the list of solid mass fractions
114 inline const scalarList& YSolid() const;
119 //- Return access to the gaseous mass fractions
120 inline scalarList& YGas();
122 //- Return access to the liquid mass fractions
123 inline scalarList& YLiquid();
125 //- Return access to the solid mass fractions
126 inline scalarList& YSolid();
133 friend bool operator==
135 const reactingMultiphaseParcelInjectionData& a,
136 const reactingMultiphaseParcelInjectionData& b
143 "const reactingMultiphaseParcelInjectionData&, "
144 "const reactingMultiphaseParcelInjectionData&"
151 friend bool operator!=
153 const reactingMultiphaseParcelInjectionData& a,
154 const reactingMultiphaseParcelInjectionData& b
161 "const reactingMultiphaseParcelInjectionData&, "
162 "const reactingMultiphaseParcelInjectionData&"
170 friend Ostream& operator<<
173 const reactingMultiphaseParcelInjectionData& data
177 friend Istream& operator>>
180 reactingMultiphaseParcelInjectionData& data
185 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
187 } // End namespace Foam
189 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
191 #include "reactingMultiphaseParcelInjectionDataI.H"
193 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
197 // ************************************************************************* //