1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright held by original author
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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 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, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 Foam::reactingMultiphaseParcelInjectionData
29 Container class to provide injection data for reacting multiphase parcels
32 reactingMultiphaseParcelInjectionData.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef reactingMultiphaseParcelInjectionData_H
37 #define reactingMultiphaseParcelInjectionData_H
39 #include "reactingParcelInjectionData.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 // Forward declaration of classes
47 class reactingMultiphaseParcelInjectionData;
49 // Forward declaration of friend functions
54 const reactingMultiphaseParcelInjectionData&
60 reactingMultiphaseParcelInjectionData&
63 /*---------------------------------------------------------------------------*\
64 Class reactingMultiphaseParcelInjectionData Declaration
65 \*---------------------------------------------------------------------------*/
67 class reactingMultiphaseParcelInjectionData
69 public reactingParcelInjectionData
75 //- List of gaseous mass fractions
78 //- List of liquid mass fractions
81 //- List of solid mass fractions
87 //- Runtime type information
88 TypeName("reactingMultiphaseParcelInjectionData");
93 reactingMultiphaseParcelInjectionData();
95 //- Construct from dictionary
96 reactingMultiphaseParcelInjectionData(const dictionary& dict);
98 //- Construct from Istream
99 reactingMultiphaseParcelInjectionData(Istream& is);
103 virtual ~reactingMultiphaseParcelInjectionData();
108 //- Return const access to the list of gaseous mass fractions
109 inline const scalarList& YGas() const;
111 //- Return const access to the list of liquid mass fractions
112 inline const scalarList& YLiquid() const;
114 //- Return const access to the list of solid mass fractions
115 inline const scalarList& YSolid() const;
120 //- Return access to the gaseous mass fractions
121 inline scalarList& YGas();
123 //- Return access to the liquid mass fractions
124 inline scalarList& YLiquid();
126 //- Return access to the solid mass fractions
127 inline scalarList& YSolid();
134 friend bool operator==
136 const reactingMultiphaseParcelInjectionData& a,
137 const reactingMultiphaseParcelInjectionData& b
144 "const reactingMultiphaseParcelInjectionData&, "
145 "const reactingMultiphaseParcelInjectionData&"
152 friend bool operator!=
154 const reactingMultiphaseParcelInjectionData& a,
155 const reactingMultiphaseParcelInjectionData& b
162 "const reactingMultiphaseParcelInjectionData&, "
163 "const reactingMultiphaseParcelInjectionData&"
171 friend Ostream& operator<<
174 const reactingMultiphaseParcelInjectionData& data
178 friend Istream& operator>>
181 reactingMultiphaseParcelInjectionData& data
186 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
188 } // End namespace Foam
190 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
192 #include "reactingMultiphaseParcelInjectionDataI.H"
194 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
198 // ************************************************************************* //