OpenFOAM logo
Open Source CFD Toolkit

resErrorLaplacian.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 Class
00026     resError
00027 
00028 Description
00029     Residual error estimate for the fv laplacian operators
00030 
00031 SourceFiles
00032     resErrorLaplacian.C
00033 
00034 \*---------------------------------------------------------------------------*/
00035 
00036 #ifndef resErrorLaplacian_H
00037 #define resErrorLaplacian_H
00038 
00039 #include "errorEstimate.H"
00040 
00041 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00042 
00043 namespace Foam
00044 {
00045 
00046 namespace resError
00047 {
00048     // Laplacian terms
00049 
00050         template<class Type>
00051         tmp<errorEstimate<Type> > laplacian
00052         (
00053             const GeometricField<Type, fvPatchField, volMesh>&
00054         );
00055 
00056         template<class Type>
00057         tmp<errorEstimate<Type> > laplacian
00058         (
00059             const dimensionedScalar&,
00060             const GeometricField<Type, fvPatchField, volMesh>&
00061         );
00062 
00063         template<class Type>
00064         tmp<errorEstimate<Type> > laplacian
00065         (
00066             const volScalarField&,
00067             const GeometricField<Type, fvPatchField, volMesh>&
00068         );
00069 
00070         template<class Type>
00071         tmp<errorEstimate<Type> > laplacian
00072         (
00073             const tmp<volScalarField>&,
00074             const GeometricField<Type, fvPatchField, volMesh>&
00075         );
00076 
00077         template<class Type>
00078         tmp<errorEstimate<Type> > laplacian
00079         (
00080             const surfaceScalarField&,
00081             const GeometricField<Type, fvPatchField, volMesh>&
00082         );
00083 
00084         template<class Type>
00085         tmp<errorEstimate<Type> > laplacian
00086         (
00087             const tmp<surfaceScalarField>&,
00088             const GeometricField<Type, fvPatchField, volMesh>&
00089         );
00090 
00091         template<class Type>
00092         tmp<errorEstimate<Type> > laplacian
00093         (
00094             const volTensorField&,
00095             const GeometricField<Type, fvPatchField, volMesh>&
00096         );
00097 
00098         template<class Type>
00099         tmp<errorEstimate<Type> > laplacian
00100         (
00101             const tmp<volTensorField>&,
00102             const GeometricField<Type, fvPatchField, volMesh>&
00103         );
00104 
00105         template<class Type>
00106         tmp<errorEstimate<Type> > laplacian
00107         (
00108             const surfaceTensorField&,
00109             const GeometricField<Type, fvPatchField, volMesh>&
00110         );
00111 
00112         template<class Type>
00113         tmp<errorEstimate<Type> > laplacian
00114         (
00115             const tmp<surfaceTensorField>&,
00116             const GeometricField<Type, fvPatchField, volMesh>&
00117         );
00118 }
00119 
00120 
00121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00122 
00123 } // End namespace Foam
00124 
00125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00126 
00127 #ifdef NoRepository
00128 #   include "resErrorLaplacian.C"
00129 #endif
00130 
00131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00132 
00133 #endif
00134 
00135 // ************************************************************************* //
For further information go to www.openfoam.org