fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / src / tetDecompositionFiniteElement / fields / tetPolyPatchFields / tetPolyPatchField / tetPolyPatchField.C
blobb02e8234de8d683352378566dcb66e17b97e4c17
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright held by original author
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 Description
27 \*---------------------------------------------------------------------------*/
29 #include "tetPolyPatchField.H"
30 #include "dictionary.H"
32 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
34 namespace Foam
37 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
39 template<class Type>
40 tetPolyPatchField<Type>::tetPolyPatchField
42     const tetPolyPatch& p,
43     const DimensionedField<Type, tetPointMesh>& iF
46     PointPatchField
47     <
48         Foam::tetPolyPatchField,
49         tetPointMesh,
50         tetPolyPatch,
51         Foam::tetFemMatrix,
52         Type
53     >(p, iF)
57 template<class Type>
58 tetPolyPatchField<Type>::tetPolyPatchField
60     const tetPolyPatchField<Type>& ptf
63     PointPatchField
64     <
65         Foam::tetPolyPatchField,
66         tetPointMesh,
67         tetPolyPatch,
68         Foam::tetFemMatrix,
69         Type
70     >(ptf)
74 template<class Type>
75 tetPolyPatchField<Type>::tetPolyPatchField
77     const tetPolyPatchField<Type>& ptf,
78     const DimensionedField<Type, tetPointMesh>& iF
81     PointPatchField
82     <
83         Foam::tetPolyPatchField,
84         tetPointMesh,
85         tetPolyPatch,
86         Foam::tetFemMatrix,
87         Type
88     >(ptf, iF)
92 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
94 } // End namespace Foam
96 // ************************************************************************* //