1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
9 This file is part of foam-extend.
11 foam-extend 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 3 of the License, or (at your
14 option) any later version.
16 foam-extend is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
28 Coupled Finite-Volume matrix.
31 Hrvoje Jasak, Wikki Ltd. All rights reserved
36 \*---------------------------------------------------------------------------*/
38 #ifndef coupledFvMatrix_H
39 #define coupledFvMatrix_H
41 #include "fvMatrices.H"
42 #include "coupledLduMatrix.H"
43 #include "className.H"
44 #include "coupledSolverPerformance.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 /*---------------------------------------------------------------------------*\
52 Class coupledFvMatrix Declaration
53 \*---------------------------------------------------------------------------*/
58 public coupledLduMatrix
60 // Private member functions
62 //- Disallow default bitwise copy construct
63 coupledFvMatrix(const coupledFvMatrix<Type>&);
65 //- Disallow default bitwise assignment
66 void operator=(const coupledFvMatrix<Type>&);
70 void checkSize() const;
72 //- Return name for combined variable
73 word coupledPsiName() const;
78 ClassName("coupledFvMatrix");
83 //- Construct given size
84 coupledFvMatrix(const label size)
86 coupledLduMatrix(size)
98 //- Solve returning the solution statistics.
99 // Solver controls read from dictionary
100 coupledSolverPerformance solve(const dictionary&);
102 //- Solve returning the solution statistics.
103 // Solver controls read from fvSolution
104 coupledSolverPerformance solve();
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 } // End namespace Foam
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 # include "coupledFvMatrix.C"
118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 // ************************************************************************* //