initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / intermediate / parcels / derived / BasicReactingParcel / BasicReactingParcel.C
blobd2b00fdf73f3b6aef58d7d53fbe37a79f4f16f51
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-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 "BasicReactingParcel.H"
29 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
31 template<class ThermoType>
32 Foam::BasicReactingParcel<ThermoType>::BasicReactingParcel
34     ReactingCloud<BasicReactingParcel<ThermoType> >& owner,
35     const vector& position,
36     const label cellI
39     ReactingParcel<BasicReactingParcel<ThermoType> >(owner, position, cellI)
43 template<class ThermoType>
44 Foam::BasicReactingParcel<ThermoType>::BasicReactingParcel
46     ReactingCloud<BasicReactingParcel<ThermoType> >& owner,
47     const vector& position,
48     const label cellI,
49     const label typeId,
50     const scalar nParticle0,
51     const scalar d0,
52     const vector& U0,
53     const scalarField& Y0,
54     const typename ReactingParcel<BasicReactingParcel<ThermoType> >::
55         constantProperties& constProps
58     ReactingParcel<BasicReactingParcel<ThermoType> >
59     (
60         owner,
61         position,
62         cellI,
63         typeId,
64         nParticle0,
65         d0,
66         U0,
67         Y0,
68         constProps
69     )
73 template<class ThermoType>
74 Foam::BasicReactingParcel<ThermoType>::BasicReactingParcel
76     const Cloud<BasicReactingParcel<ThermoType> >& cloud,
77     Istream& is,
78     bool readFields
81     ReactingParcel<BasicReactingParcel<ThermoType> >(cloud, is, readFields)
85 template<class ThermoType>
86 Foam::BasicReactingParcel<ThermoType>::BasicReactingParcel
88     const BasicReactingParcel<ThermoType>& p
91     ReactingParcel<BasicReactingParcel>(p)
95 // * * * * * * * * * * * * * * * *  Destructors  * * * * * * * * * * * * * * //
97 template<class ThermoType>
98 Foam::BasicReactingParcel<ThermoType>::~BasicReactingParcel()
102 // ************************************************************************* //