reactingParcelInjectionData.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2015 OpenFOAM Foundation
9 Copyright (C) 2019 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::reactingParcelInjectionData
29
30Description
31 Container class to provide injection data for reacting parcels
32
33SourceFiles
34 reactingParcelInjectionData.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef reactingParcelInjectionData_H
39#define reactingParcelInjectionData_H
40
42#include "scalarList.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48
49// Forward declaration of classes
50class reactingParcelInjectionData;
51
52// Forward declaration of friend functions
53
54Ostream& operator<<
55(
56 Ostream&,
57 const reactingParcelInjectionData&
58);
59
60Istream& operator>>
61(
62 Istream&,
63 reactingParcelInjectionData&
64);
65
66/*---------------------------------------------------------------------------*\
67 Class reactingParcelInjectionData Declaration
68\*---------------------------------------------------------------------------*/
71:
73{
74protected:
75
76 // Parcel properties
77
78 //- List of mass fractions
80
81
82public:
83
84 //- Runtime type information
85 TypeName("reactingParcelInjectionData");
86
87 // Constructors
88
89 //- Null constructor
91
92 //- Construct from dictionary
94
95 //- Construct from Istream
97
98
99 //- Destructor
101
102
103 // Access
104
105 //- Return const access to the list of mass fractions
106 inline const scalarList& Y() const;
107
108
109 // Edit
110
111 //- Return access to the mass fractions
112 inline scalarList& Y();
113
114
115 // I-O
116
117 //- Ostream operator
118 friend Ostream& operator<<
119 (
120 Ostream& os,
122 );
123
124 //- Istream operator
125 friend Istream& operator>>
126 (
127 Istream& is,
129 );
130};
131
132
133// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134
135} // End namespace Foam
136
137// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138
140
141// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142
143#endif
144
145// ************************************************************************* //
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:64
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
Database for solution data, solver performance and other reduced data.
Definition: data.H:58
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Container class to provide injection data for reacting parcels.
scalarList Y_
List of mass fractions.
const scalarList & Y() const
Return const access to the list of mass fractions.
TypeName("reactingParcelInjectionData")
Runtime type information.
Container class to provide injection data for thermodynamic parcels.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73