Forward compatibility: flex
[foam-extend-3.2.git] / src / lagrangian / coalCombustion / CoalParcel / CoalParcel.C
blobb7aa31da4fd0cee33761a6578cf330e75085b1e0
1 /*---------------------------------------------------------------------------*\
2   =========                 |
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 -------------------------------------------------------------------------------
8 License
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 #include "CoalParcel.H"
28 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
30 template<class ThermoType>
31 Foam::CoalParcel<ThermoType>::CoalParcel
33     ReactingMultiphaseCloud<CoalParcel<ThermoType> >& owner,
34     const vector& position,
35     const label cellI
38     ReactingMultiphaseParcel<CoalParcel<ThermoType> >(owner, position, cellI)
42 template<class ThermoType>
43 Foam::CoalParcel<ThermoType>::CoalParcel
45     ReactingMultiphaseCloud<CoalParcel<ThermoType> >& owner,
46     const vector& position,
47     const label cellI,
48     const label typeId,
49     const scalar nParticle0,
50     const scalar d0,
51     const vector& U0,
52     const scalarField& YMixture0,
53     const scalarField& YGas0,
54     const scalarField& YLiquid0,
55     const scalarField& YSolid0,
56     const typename
57         ReactingMultiphaseParcel<CoalParcel<ThermoType> >::
58         constantProperties& constProps
61     ReactingMultiphaseParcel<CoalParcel<ThermoType> >
62     (
63         owner,
64         position,
65         cellI,
66         typeId,
67         nParticle0,
68         d0,
69         U0,
70         YMixture0,
71         YGas0,
72         YLiquid0,
73         YSolid0,
74         constProps
75     )
79 template<class ThermoType>
80 Foam::CoalParcel<ThermoType>::CoalParcel
82     const Cloud<CoalParcel<ThermoType> >& cloud,
83     Istream& is,
84     bool readFields
87     ReactingMultiphaseParcel<CoalParcel<ThermoType> >(cloud, is, readFields)
91 // * * * * * * * * * * * * * * * *  Destructors  * * * * * * * * * * * * * * //
93 template<class ThermoType>
94 Foam::CoalParcel<ThermoType>::~CoalParcel()
98 // ************************************************************************* //