initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / errorEstimation / errorEstimate / resErrorLaplacian.H
blob608eca5aabbcf16d69632ea4f91dd1eda20173e4
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software; you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 InNamespace
26     Foam::resError
28 Description
29     Residual error estimate for the fv laplacian operators
31 SourceFiles
32     resErrorLaplacian.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef resErrorLaplacian_H
37 #define resErrorLaplacian_H
39 #include "errorEstimate.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 namespace Foam
46 namespace resError
48     // Laplacian terms
50         template<class Type>
51         tmp<errorEstimate<Type> > laplacian
52         (
53             const GeometricField<Type, fvPatchField, volMesh>&
54         );
56         template<class Type>
57         tmp<errorEstimate<Type> > laplacian
58         (
59             const dimensionedScalar&,
60             const GeometricField<Type, fvPatchField, volMesh>&
61         );
63         template<class Type>
64         tmp<errorEstimate<Type> > laplacian
65         (
66             const volScalarField&,
67             const GeometricField<Type, fvPatchField, volMesh>&
68         );
70         template<class Type>
71         tmp<errorEstimate<Type> > laplacian
72         (
73             const tmp<volScalarField>&,
74             const GeometricField<Type, fvPatchField, volMesh>&
75         );
77         template<class Type>
78         tmp<errorEstimate<Type> > laplacian
79         (
80             const surfaceScalarField&,
81             const GeometricField<Type, fvPatchField, volMesh>&
82         );
84         template<class Type>
85         tmp<errorEstimate<Type> > laplacian
86         (
87             const tmp<surfaceScalarField>&,
88             const GeometricField<Type, fvPatchField, volMesh>&
89         );
91         template<class Type>
92         tmp<errorEstimate<Type> > laplacian
93         (
94             const volTensorField&,
95             const GeometricField<Type, fvPatchField, volMesh>&
96         );
98         template<class Type>
99         tmp<errorEstimate<Type> > laplacian
100         (
101             const tmp<volTensorField>&,
102             const GeometricField<Type, fvPatchField, volMesh>&
103         );
105         template<class Type>
106         tmp<errorEstimate<Type> > laplacian
107         (
108             const surfaceTensorField&,
109             const GeometricField<Type, fvPatchField, volMesh>&
110         );
112         template<class Type>
113         tmp<errorEstimate<Type> > laplacian
114         (
115             const tmp<surfaceTensorField>&,
116             const GeometricField<Type, fvPatchField, volMesh>&
117         );
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 } // End namespace Foam
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 #ifdef NoRepository
128 #   include "resErrorLaplacian.C"
129 #endif
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
133 #endif
135 // ************************************************************************* //