1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
9 This file is part of foam-extend.
11 foam-extend 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 3 of the License, or (at your
14 option) any later version.
16 foam-extend is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
33 inline const List<word>& parcel::liquidNames() const
35 return liquidComponents_;
38 inline const List<word>& parcel::fuelNames() const
40 return liquidComponents_;
43 inline scalar parcel::d() const
48 inline scalar& parcel::d()
53 inline scalar parcel::T() const
58 inline scalar& parcel::T()
63 inline scalar parcel::m() const
68 inline scalar& parcel::m()
73 inline scalar parcel::dev() const
78 inline scalar& parcel::dev()
83 inline scalar parcel::ddev() const
88 inline scalar& parcel::ddev()
93 inline scalar parcel::ct() const
98 inline scalar& parcel::ct()
103 inline scalar& parcel::ms()
108 inline scalar parcel::ms() const
113 inline scalar& parcel::tTurb()
118 inline scalar parcel::tTurb() const
123 inline scalar& parcel::liquidCore()
128 inline scalar parcel::liquidCore() const
133 inline scalar& parcel::injector()
138 inline scalar parcel::injector() const
143 inline const vector& parcel::U() const
148 inline vector& parcel::U()
153 inline const vector& parcel::Uturb() const
158 inline vector& parcel::Uturb()
163 inline const vector& parcel::n() const
168 inline vector& parcel::n()
173 inline const scalarField& parcel::X() const
178 inline scalarField& parcel::X()
183 inline scalar& parcel::tMom()
188 inline scalar parcel::tMom() const
193 inline vector parcel::Urel(const vector& U) const
198 inline void parcel::correctNormal
203 scalar d = position() & sym;
204 n_ = position() - d*sym;
209 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
211 } // End namespace Foam
213 // ************************************************************************* //