OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

fvmLaplacian.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software; you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM; if not, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 InNamespace
00026     Foam::fvm
00027 
00028 Description
00029     Calculate the matrix for the laplacian of the field.
00030 
00031 SourceFiles
00032     fvmLaplacian.C
00033 
00034 \*---------------------------------------------------------------------------*/
00035 
00036 #ifndef fvmLaplacian_H
00037 #define fvmLaplacian_H
00038 
00039 #include "volFieldsFwd.H"
00040 #include "surfaceFieldsFwd.H"
00041 #include "fvMatrix.H"
00042 #include "oneField.H"
00043 
00044 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00045 
00046 namespace Foam
00047 {
00048 
00049 /*---------------------------------------------------------------------------*\
00050                      Namespace fvm functions Declaration
00051 \*---------------------------------------------------------------------------*/
00052 
00053 namespace fvm
00054 {
00055     template<class Type>
00056     tmp<fvMatrix<Type> > laplacian
00057     (
00058         GeometricField<Type, fvPatchField, volMesh>&,
00059         const word&
00060     );
00061 
00062     template<class Type>
00063     tmp<fvMatrix<Type> > laplacian
00064     (
00065         GeometricField<Type, fvPatchField, volMesh>&
00066     );
00067 
00068 
00069     template<class Type>
00070     tmp<fvMatrix<Type> > laplacian
00071     (
00072         const zeroField&,
00073         GeometricField<Type, fvPatchField, volMesh>&,
00074         const word&
00075     );
00076 
00077     template<class Type>
00078     tmp<fvMatrix<Type> > laplacian
00079     (
00080         const zeroField&,
00081         GeometricField<Type, fvPatchField, volMesh>&
00082     );
00083 
00084 
00085     template<class Type>
00086     tmp<fvMatrix<Type> > laplacian
00087     (
00088         const oneField&,
00089         GeometricField<Type, fvPatchField, volMesh>&,
00090         const word&
00091     );
00092 
00093     template<class Type>
00094     tmp<fvMatrix<Type> > laplacian
00095     (
00096         const oneField&,
00097         GeometricField<Type, fvPatchField, volMesh>&
00098     );
00099 
00100 
00101     template<class Type, class GType>
00102     tmp<fvMatrix<Type> > laplacian
00103     (
00104         const dimensioned<GType>&,
00105         GeometricField<Type, fvPatchField, volMesh>&,
00106         const word&
00107     );
00108 
00109     template<class Type, class GType>
00110     tmp<fvMatrix<Type> > laplacian
00111     (
00112         const dimensioned<GType>&,
00113         GeometricField<Type, fvPatchField, volMesh>&
00114     );
00115 
00116 
00117     template<class Type, class GType>
00118     tmp<fvMatrix<Type> > laplacian
00119     (
00120         const GeometricField<GType, fvPatchField, volMesh>&,
00121         GeometricField<Type, fvPatchField, volMesh>&,
00122         const word&
00123     );
00124 
00125     template<class Type, class GType>
00126     tmp<fvMatrix<Type> > laplacian
00127     (
00128         const GeometricField<GType, fvPatchField, volMesh>&,
00129         GeometricField<Type, fvPatchField, volMesh>&
00130     );
00131 
00132 
00133     template<class Type, class GType>
00134     tmp<fvMatrix<Type> > laplacian
00135     (
00136         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00137         GeometricField<Type, fvPatchField, volMesh>&,
00138         const word&
00139     );
00140 
00141     template<class Type, class GType>
00142     tmp<fvMatrix<Type> > laplacian
00143     (
00144         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00145         GeometricField<Type, fvPatchField, volMesh>&
00146     );
00147 
00148 
00149     template<class Type, class GType>
00150     tmp<fvMatrix<Type> > laplacian
00151     (
00152         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00153         GeometricField<Type, fvPatchField, volMesh>&,
00154         const word&
00155     );
00156 
00157     template<class Type, class GType>
00158     tmp<fvMatrix<Type> > laplacian
00159     (
00160         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00161         GeometricField<Type, fvPatchField, volMesh>&,
00162         const word&
00163     );
00164 
00165     template<class Type, class GType>
00166     tmp<fvMatrix<Type> > laplacian
00167     (
00168         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00169         GeometricField<Type, fvPatchField, volMesh>&
00170     );
00171 
00172     template<class Type, class GType>
00173     tmp<fvMatrix<Type> > laplacian
00174     (
00175         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00176         GeometricField<Type, fvPatchField, volMesh>&
00177     );
00178 }
00179 
00180 
00181 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00182 
00183 } // End namespace Foam
00184 
00185 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00186 
00187 #ifdef NoRepository
00188 #   include "fvmLaplacian.C"
00189 #endif
00190 
00191 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00192 
00193 #endif
00194 
00195 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd