OpenFOAM logo
Open Source CFD Toolkit

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-2005 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 Namespace
00026     fvmLaplacian
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 
00043 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00044 
00045 namespace Foam
00046 {
00047 
00048 /*---------------------------------------------------------------------------*\
00049                      Namespace fvm functions Declaration
00050 \*---------------------------------------------------------------------------*/
00051 
00052 namespace fvm
00053 {
00054     template<class Type>
00055     tmp<fvMatrix<Type> > laplacian
00056     (
00057         GeometricField<Type, fvPatchField, volMesh>&,
00058         const word&
00059     );
00060 
00061     template<class Type>
00062     tmp<fvMatrix<Type> > laplacian
00063     (
00064         GeometricField<Type, fvPatchField, volMesh>&
00065     );
00066 
00067 
00068     template<class Type>
00069     tmp<fvMatrix<Type> > laplacian
00070     (
00071         const dimensionedScalar&,
00072         GeometricField<Type, fvPatchField, volMesh>&,
00073         const word&
00074     );
00075 
00076     template<class Type>
00077     tmp<fvMatrix<Type> > laplacian
00078     (
00079         const dimensionedScalar&,
00080         GeometricField<Type, fvPatchField, volMesh>&
00081     );
00082 
00083 
00084     template<class Type>
00085     tmp<fvMatrix<Type> > laplacian
00086     (
00087         const volScalarField&,
00088         GeometricField<Type, fvPatchField, volMesh>&,
00089         const word&
00090     );
00091 
00092     template<class Type>
00093     tmp<fvMatrix<Type> > laplacian
00094     (
00095         const volScalarField&,
00096         GeometricField<Type, fvPatchField, volMesh>&
00097     );
00098 
00099 
00100     template<class Type>
00101     tmp<fvMatrix<Type> > laplacian
00102     (
00103         const tmp<volScalarField>&,
00104         GeometricField<Type, fvPatchField, volMesh>&,
00105         const word&
00106     );
00107 
00108     template<class Type>
00109     tmp<fvMatrix<Type> > laplacian
00110     (
00111         const tmp<volScalarField>&,
00112         GeometricField<Type, fvPatchField, volMesh>&
00113     );
00114 
00115 
00116     template<class Type>
00117     tmp<fvMatrix<Type> > laplacian
00118     (
00119         const surfaceScalarField&,
00120         GeometricField<Type, fvPatchField, volMesh>&,
00121         const word&
00122     );
00123 
00124     template<class Type>
00125     tmp<fvMatrix<Type> > laplacian
00126     (
00127         const tmp<surfaceScalarField>&,
00128         GeometricField<Type, fvPatchField, volMesh>&,
00129         const word&
00130     );
00131 
00132     template<class Type>
00133     tmp<fvMatrix<Type> > laplacian
00134     (
00135         const surfaceScalarField&,
00136         GeometricField<Type, fvPatchField, volMesh>&
00137     );
00138 
00139     template<class Type>
00140     tmp<fvMatrix<Type> > laplacian
00141     (
00142         const tmp<surfaceScalarField>&,
00143         GeometricField<Type, fvPatchField, volMesh>&
00144     );
00145 
00146 
00147     template<class Type>
00148     tmp<fvMatrix<Type> > laplacian
00149     (
00150         const volTensorField&,
00151         GeometricField<Type, fvPatchField, volMesh>&,
00152         const word&
00153     );
00154 
00155     template<class Type>
00156     tmp<fvMatrix<Type> > laplacian
00157     (
00158         const tmp<volTensorField>&,
00159         GeometricField<Type, fvPatchField, volMesh>&,
00160         const word&
00161     );
00162 
00163     template<class Type>
00164     tmp<fvMatrix<Type> > laplacian
00165     (
00166         const volTensorField&,
00167         GeometricField<Type, fvPatchField, volMesh>&
00168     );
00169 
00170     template<class Type>
00171     tmp<fvMatrix<Type> > laplacian
00172     (
00173         const tmp<volTensorField>&,
00174         GeometricField<Type, fvPatchField, volMesh>&
00175     );
00176 
00177 
00178     template<class Type>
00179     tmp<fvMatrix<Type> > laplacian
00180     (
00181         const surfaceTensorField&,
00182         GeometricField<Type, fvPatchField, volMesh>&,
00183         const word&
00184     );
00185 
00186     template<class Type>
00187     tmp<fvMatrix<Type> > laplacian
00188     (
00189         const tmp<surfaceTensorField>&,
00190         GeometricField<Type, fvPatchField, volMesh>&,
00191         const word&
00192     );
00193 
00194     template<class Type>
00195     tmp<fvMatrix<Type> > laplacian
00196     (
00197         const surfaceTensorField&,
00198         GeometricField<Type, fvPatchField, volMesh>&
00199     );
00200 
00201     template<class Type>
00202     tmp<fvMatrix<Type> > laplacian
00203     (
00204         const tmp<surfaceTensorField>&,
00205         GeometricField<Type, fvPatchField, volMesh>&
00206     );
00207 }
00208 
00209 
00210 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00211 
00212 } // End namespace Foam
00213 
00214 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00215 
00216 #ifdef NoRepository
00217 #   include "fvmLaplacian.C"
00218 #endif
00219 
00220 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00221 
00222 #endif
00223 
00224 // ************************************************************************* //
For further information go to www.openfoam.org