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::reactingParcelInjectionData
29 Container class to provide injection data for reacting parcels
32 reactingParcelInjectionData.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef reactingParcelInjectionData_H
37 #define reactingParcelInjectionData_H
39 #include "thermoParcelInjectionData.H"
40 #include "scalarList.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 // Forward declaration of classes
48 class reactingParcelInjectionData;
50 // Forward declaration of friend functions
55 const reactingParcelInjectionData&
61 reactingParcelInjectionData&
64 /*---------------------------------------------------------------------------*\
65 Class reactingParcelInjectionData Declaration
66 \*---------------------------------------------------------------------------*/
68 class reactingParcelInjectionData
70 public thermoParcelInjectionData
76 //- List of mass fractions
82 //- Runtime type information
83 TypeName("reactingParcelInjectionData");
88 reactingParcelInjectionData();
90 //- Construct from dictionary
91 reactingParcelInjectionData(const dictionary& dict);
93 //- Construct from Istream
94 reactingParcelInjectionData(Istream& is);
98 virtual ~reactingParcelInjectionData();
103 //- Return const access to the list of mass fractions
104 inline const scalarList& Y() const;
109 //- Return access to the mass fractions
110 inline scalarList& Y();
117 friend bool operator==
119 const reactingParcelInjectionData& a,
120 const reactingParcelInjectionData& b
127 "const reactingParcelInjectionData&, "
128 "const reactingParcelInjectionData&"
135 friend bool operator!=
137 const reactingParcelInjectionData& a,
138 const reactingParcelInjectionData& b
145 "const reactingParcelInjectionData&, "
146 "const reactingParcelInjectionData&"
154 friend Ostream& operator<<
157 const reactingParcelInjectionData& data
161 friend Istream& operator>>
164 reactingParcelInjectionData& data
169 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
171 } // End namespace Foam
173 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
175 #include "reactingParcelInjectionDataI.H"
177 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
181 // ************************************************************************* //