1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
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
13 the Free Software Foundation, either version 3 of the License, or
14 (at your 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
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
33 \*---------------------------------------------------------------------------*/
35 #ifndef procLduMatrix_H
36 #define procLduMatrix_H
38 #include "labelList.H"
39 #include "scalarField.H"
40 #include "FieldField.H"
41 #include "lduInterfaceFieldPtrsList.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 class procLduInterface;
51 // Forward declaration of friend functions and operators
55 Ostream& operator<<(Ostream&, const procLduMatrix&);
58 /*---------------------------------------------------------------------------*\
59 Class procLduMatrix Declaration
60 \*---------------------------------------------------------------------------*/
71 PtrList<procLduInterface> interfaces_;
74 // Private member functions
76 //- Dissallow construction as copy
77 procLduMatrix(const procLduMatrix&);
82 friend class LUscalarMatrix;
89 const lduMatrix& ldum,
90 const FieldField<Field, scalar>& interfaceCoeffs,
91 const lduInterfaceFieldPtrsList& interfaces
94 procLduMatrix(Istream& is);
107 friend Ostream& operator<<(Ostream&, const procLduMatrix&);
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 } // End namespace Foam
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119 // ************************************************************************* //