Fix tutorials: typo in tutorials/viscoelastic/viscoelasticFluidFoam/S-MDCPP/constant...
[OpenFOAM-1.6-ext.git] / src / blockMatrix / BlockLduMatrix / symmTensorBlockLduMatrix.H
blobcce4c7591e6674dc8fff742c23a4a37ba7fbdf8d
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     BlockLduMatrix
28 Description
29     Template specialisation for symmTensor block matrix
31 Author
32     Hrvoje Jasak, Wikki Ltd.  All rights reserved.
34 SourceFiles
35     symmTensorBlockLduMatrix.C
37 \*---------------------------------------------------------------------------*/
39 #ifndef symmTensorBlockLduMatrix_H
40 #define symmTensorBlockLduMatrix_H
42 #include "BlockLduMatrix.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 namespace Foam
49 template<>
50 void BlockLduMatrix<symmTensor>::sumDiag();
52 template<>
53 void BlockLduMatrix<symmTensor>::negSumDiag();
55 template<>
56 void BlockLduMatrix<symmTensor>::check() const;
58 template<>
59 void BlockLduMatrix<symmTensor>::relax
61     const symmTensorField& x,
62     symmTensorField& b,
63     const scalar alpha
66 template<>
67 void BlockLduMatrix<symmTensor>::operator*=(const scalarField& sf);
69 template<>
70 void BlockLduMatrix<symmTensor>::AmulCore
72     symmTensorField& mul,
73     const symmTensorField& x
74 ) const;
76 template<>
77 void BlockLduMatrix<symmTensor>::TmulCore
79     symmTensorField& mul,
80     const symmTensorField& x
81 ) const;
83 template<>
84 void BlockLduMatrix<symmTensor>::segregateB
86     symmTensorField& mul,
87     const symmTensorField& x
88 ) const;
91 template<>
92 tmp<symmTensorField>
93 BlockLduMatrix<symmTensor>::H(const symmTensorField& x) const;
95 template<>
96 tmp<symmTensorField>
97 BlockLduMatrix<symmTensor>::faceH(const symmTensorField& x) const;
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 } // End namespace Foam
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 #endif
108 // ************************************************************************* //