1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2009 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 the laplacian of the field.
34 \*---------------------------------------------------------------------------*/
36 #ifndef fvmLaplacian_H
37 #define fvmLaplacian_H
39 #include "volFieldsFwd.H"
40 #include "surfaceFieldsFwd.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 /*---------------------------------------------------------------------------*\
50 Namespace fvm functions Declaration
51 \*---------------------------------------------------------------------------*/
56 tmp<fvMatrix<Type> > laplacian
58 GeometricField<Type, fvPatchField, volMesh>&,
63 tmp<fvMatrix<Type> > laplacian
65 GeometricField<Type, fvPatchField, volMesh>&
70 tmp<fvMatrix<Type> > laplacian
73 GeometricField<Type, fvPatchField, volMesh>&,
78 tmp<fvMatrix<Type> > laplacian
81 GeometricField<Type, fvPatchField, volMesh>&
86 tmp<fvMatrix<Type> > laplacian
89 GeometricField<Type, fvPatchField, volMesh>&,
94 tmp<fvMatrix<Type> > laplacian
97 GeometricField<Type, fvPatchField, volMesh>&
101 template<class Type, class GType>
102 tmp<fvMatrix<Type> > laplacian
104 const dimensioned<GType>&,
105 GeometricField<Type, fvPatchField, volMesh>&,
109 template<class Type, class GType>
110 tmp<fvMatrix<Type> > laplacian
112 const dimensioned<GType>&,
113 GeometricField<Type, fvPatchField, volMesh>&
117 template<class Type, class GType>
118 tmp<fvMatrix<Type> > laplacian
120 const GeometricField<GType, fvPatchField, volMesh>&,
121 GeometricField<Type, fvPatchField, volMesh>&,
125 template<class Type, class GType>
126 tmp<fvMatrix<Type> > laplacian
128 const GeometricField<GType, fvPatchField, volMesh>&,
129 GeometricField<Type, fvPatchField, volMesh>&
133 template<class Type, class GType>
134 tmp<fvMatrix<Type> > laplacian
136 const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
137 GeometricField<Type, fvPatchField, volMesh>&,
141 template<class Type, class GType>
142 tmp<fvMatrix<Type> > laplacian
144 const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
145 GeometricField<Type, fvPatchField, volMesh>&
149 template<class Type, class GType>
150 tmp<fvMatrix<Type> > laplacian
152 const GeometricField<GType, fvsPatchField, surfaceMesh>&,
153 GeometricField<Type, fvPatchField, volMesh>&,
157 template<class Type, class GType>
158 tmp<fvMatrix<Type> > laplacian
160 const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
161 GeometricField<Type, fvPatchField, volMesh>&,
165 template<class Type, class GType>
166 tmp<fvMatrix<Type> > laplacian
168 const GeometricField<GType, fvsPatchField, surfaceMesh>&,
169 GeometricField<Type, fvPatchField, volMesh>&
172 template<class Type, class GType>
173 tmp<fvMatrix<Type> > laplacian
175 const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
176 GeometricField<Type, fvPatchField, volMesh>&
181 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
183 } // End namespace Foam
185 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
188 # include "fvmLaplacian.C"
191 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
195 // ************************************************************************* //