FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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