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

fvcLaplacian.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::fvc
00027 
00028 Description
00029     Calculate the laplacian of the given field.
00030 
00031 SourceFiles
00032     fvcLaplacian.C
00033 
00034 \*---------------------------------------------------------------------------*/
00035 
00036 
00037 #ifndef fvcLaplacian_H
00038 #define fvcLaplacian_H
00039 
00040 #include "volFieldsFwd.H"
00041 #include "surfaceFieldsFwd.H"
00042 #include "dimensionedTypes.H"
00043 
00044 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00045 
00046 namespace Foam
00047 {
00048 
00049 /*---------------------------------------------------------------------------*\
00050                      Namespace fvc functions Declaration
00051 \*---------------------------------------------------------------------------*/
00052 
00053 namespace fvc
00054 {
00055     template<class Type>
00056     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00057     (
00058         const GeometricField<Type, fvPatchField, volMesh>&,
00059         const word&
00060     );
00061 
00062     template<class Type>
00063     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00064     (
00065         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00066         const word&
00067     );
00068 
00069     template<class Type>
00070     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00071     (
00072         const GeometricField<Type, fvPatchField, volMesh>&
00073     );
00074 
00075     template<class Type>
00076     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00077     (
00078         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00079     );
00080 
00081 
00082     template<class Type, class GType>
00083     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00084     (
00085         const dimensioned<GType>&,
00086         const GeometricField<Type, fvPatchField, volMesh>&,
00087         const word&
00088     );
00089 
00090     template<class Type, class GType>
00091     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00092     (
00093         const dimensioned<GType>&,
00094         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00095         const word&
00096     );
00097 
00098     template<class Type, class GType>
00099     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00100     (
00101         const dimensioned<GType>&,
00102         const GeometricField<Type, fvPatchField, volMesh>&
00103     );
00104 
00105     template<class Type, class GType>
00106     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00107     (
00108         const dimensioned<GType>&,
00109         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00110     );
00111 
00112 
00113     template<class Type, class GType>
00114     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00115     (
00116         const GeometricField<GType, fvPatchField, volMesh>&,
00117         const GeometricField<Type, fvPatchField, volMesh>&,
00118         const word&
00119     );
00120 
00121     template<class Type, class GType>
00122     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00123     (
00124         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00125         const GeometricField<Type, fvPatchField, volMesh>&,
00126         const word&
00127     );
00128 
00129     template<class Type, class GType>
00130     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00131     (
00132         const GeometricField<GType, fvPatchField, volMesh>&,
00133         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00134         const word&
00135     );
00136 
00137     template<class Type, class GType>
00138     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00139     (
00140         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00141         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00142         const word&
00143     );
00144 
00145     template<class Type, class GType>
00146     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00147     (
00148         const GeometricField<GType, fvPatchField, volMesh>&,
00149         const GeometricField<Type, fvPatchField, volMesh>&
00150     );
00151 
00152     template<class Type, class GType>
00153     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00154     (
00155         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00156         const GeometricField<Type, fvPatchField, volMesh>&
00157     );
00158 
00159     template<class Type, class GType>
00160     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00161     (
00162         const GeometricField<GType, fvPatchField, volMesh>&,
00163         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00164     );
00165 
00166     template<class Type, class GType>
00167     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00168     (
00169         const tmp<GeometricField<GType, fvPatchField, volMesh> >&,
00170         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00171     );
00172 
00173 
00174     template<class Type, class GType>
00175     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00176     (
00177         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00178         const GeometricField<Type, fvPatchField, volMesh>&,
00179         const word&
00180     );
00181 
00182     template<class Type, class GType>
00183     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00184     (
00185         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00186         const GeometricField<Type, fvPatchField, volMesh>&,
00187         const word&
00188     );
00189 
00190     template<class Type, class GType>
00191     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00192     (
00193         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00194         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00195         const word&
00196     );
00197 
00198     template<class Type, class GType>
00199     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00200     (
00201         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00202         const tmp<GeometricField<Type, fvPatchField, volMesh> >&,
00203         const word&
00204     );
00205 
00206     template<class Type, class GType>
00207     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00208     (
00209         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00210         const GeometricField<Type, fvPatchField, volMesh>&
00211     );
00212 
00213     template<class Type, class GType>
00214     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00215     (
00216         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00217         const GeometricField<Type, fvPatchField, volMesh>&
00218     );
00219 
00220     template<class Type, class GType>
00221     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00222     (
00223         const GeometricField<GType, fvsPatchField, surfaceMesh>&,
00224         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00225     );
00226 
00227     template<class Type, class GType>
00228     tmp<GeometricField<Type, fvPatchField, volMesh> > laplacian
00229     (
00230         const tmp<GeometricField<GType, fvsPatchField, surfaceMesh> >&,
00231         const tmp<GeometricField<Type, fvPatchField, volMesh> >&
00232     );
00233 }
00234 
00235 
00236 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00237 
00238 } // End namespace Foam
00239 
00240 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00241 
00242 #ifdef NoRepository
00243 #   include "fvcLaplacian.C"
00244 #endif
00245 
00246 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00247 
00248 #endif
00249 
00250 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd