initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / intermediate / parcels / derived / BasicReactingMultiphaseParcel / BasicReactingMultiphaseParcel.C
blob2189d8d8be909c0a6c852955b82a9af5839e9576
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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
19     for more details.
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
25 \*---------------------------------------------------------------------------*/
27 #include "BasicReactingMultiphaseParcel.H"
29 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
31 template<class ThermoType>
32 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
34     ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
35     const vector& position,
36     const label cellI
39     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
40     (
41         owner,
42         position,
43         cellI
44     )
48 template<class ThermoType>
49 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
51     ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
52     const vector& position,
53     const label cellI,
54     const label typeId,
55     const scalar nParticle0,
56     const scalar d0,
57     const vector& U0,
58     const scalarField& YGas0,
59     const scalarField& YLiquid0,
60     const scalarField& YSolid0,
61     const scalarField& Y0,
62     const typename
63         ReactingMultiphaseParcel<BasicReactingMultiphaseParcel>::
64         constantProperties& constProps
67     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
68     (
69         owner,
70         position,
71         cellI,
72         typeId,
73         nParticle0,
74         d0,
75         U0,
76         YGas0,
77         YLiquid0,
78         YSolid0,
79         Y0,
80         constProps
81     )
85 template<class ThermoType>
86 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
88     const Cloud<BasicReactingMultiphaseParcel<ThermoType> >& cloud,
89     Istream& is,
90     bool readFields
93     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
94     (
95         cloud,
96         is,
97         readFields
98     )
102 template<class ThermoType>
103 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
105     const BasicReactingMultiphaseParcel<ThermoType>& p
108     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >(p)
112 // * * * * * * * * * * * * * * * *  Destructors  * * * * * * * * * * * * * * //
114 template<class ThermoType>
115 Foam::BasicReactingMultiphaseParcel<ThermoType>::
116 ~BasicReactingMultiphaseParcel()
120 // ************************************************************************* //