1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 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 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
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
29 Calculate the matrix for implicit and explicit sources.
34 \*---------------------------------------------------------------------------*/
39 #include "volFieldsFwd.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 /*---------------------------------------------------------------------------*\
48 Namespace fvm functions Declaration
49 \*---------------------------------------------------------------------------*/
56 tmp<fvMatrix<Type> > Su
58 const DimensionedField<Type, volMesh>&,
59 GeometricField<Type, fvPatchField, volMesh>&
63 tmp<fvMatrix<Type> > Su
65 const tmp<DimensionedField<Type, volMesh> >&,
66 GeometricField<Type, fvPatchField, volMesh>&
70 tmp<fvMatrix<Type> > Su
72 const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
73 GeometricField<Type, fvPatchField, volMesh>&
80 GeometricField<Type, fvPatchField, volMesh>&
87 tmp<fvMatrix<Type> > Sp
89 const DimensionedField<scalar, volMesh>&,
90 GeometricField<Type, fvPatchField, volMesh>&
94 tmp<fvMatrix<Type> > Sp
96 const tmp<DimensionedField<scalar, volMesh> >&,
97 GeometricField<Type, fvPatchField, volMesh>&
101 tmp<fvMatrix<Type> > Sp
103 const tmp<volScalarField>&,
104 GeometricField<Type, fvPatchField, volMesh>&
109 tmp<fvMatrix<Type> > Sp
111 const dimensionedScalar&,
112 GeometricField<Type, fvPatchField, volMesh>&
120 GeometricField<Type, fvPatchField, volMesh>&
124 // Implicit/Explicit source depending on sign of coefficient
127 tmp<fvMatrix<Type> > SuSp
129 const DimensionedField<scalar, volMesh>&,
130 GeometricField<Type, fvPatchField, volMesh>&
134 tmp<fvMatrix<Type> > SuSp
136 const tmp<DimensionedField<scalar, volMesh> >&,
137 GeometricField<Type, fvPatchField, volMesh>&
141 tmp<fvMatrix<Type> > SuSp
143 const tmp<volScalarField>&,
144 GeometricField<Type, fvPatchField, volMesh>&
151 GeometricField<Type, fvPatchField, volMesh>&
156 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
158 } // End namespace Foam
160 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
166 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
170 // ************************************************************************* //