fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / src / OpenFOAM / primitives / BlockCoeff / symmTensorBlockCoeff.H
blobb114ba8dd2e835859650bf333d5ae69ee32a54f7
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2004-6 H. Jasak All rights reserved
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 Class
26     BlockCoeff
28 Description
29     Template specialisation for the terminal class.  It is designed to avoid
30     endless expansion of tensor order by excluding block coupling at the
31     terminal type level.
33 Author
34     Hrvoje Jasak, Wikki Ltd.  All rights reserved
36 \*---------------------------------------------------------------------------*/
38 #ifndef symmTensorBlockCoeff_H
39 #define symmTensorBlockCoeff_H
41 #include "BlockCoeff.H"
42 #include "DecoupledBlockCoeff.H"
43 #include "symmTensor.H"
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 namespace Foam
50 /*---------------------------------------------------------------------------*\
51                           Class BlockCoeff Declaration
52 \*---------------------------------------------------------------------------*/
54 template<>
55 class BlockCoeff<symmTensor>
57     public DecoupledBlockCoeff<symmTensor>
59 public:
61     // Constructors
63         //- Construct null
64         explicit BlockCoeff();
66         //- Construct as copy
67         BlockCoeff(const BlockCoeff<symmTensor>&);
69         //- Construct from Istream
70         BlockCoeff(Istream&);
74 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76 } // End namespace Foam
78 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80 #endif
82 // ************************************************************************* //