fvcLaplacian.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2016 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 InNamespace
27  Foam::fvc
28 
29 Description
30  Calculate the laplacian of the given field.
31 
32 SourceFiles
33  fvcLaplacian.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 
38 #ifndef fvcLaplacian_H
39 #define fvcLaplacian_H
40 
41 #include "volFieldsFwd.H"
42 #include "surfaceFieldsFwd.H"
43 #include "dimensionedTypes.H"
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Namespace fvc functions Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 namespace fvc
55 {
56  template<class Type>
57  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
58  (
59  const GeometricField<Type, fvPatchField, volMesh>&,
60  const word&
61  );
62 
63  template<class Type>
64  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
65  (
66  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
67  const word&
68  );
69 
70  template<class Type>
71  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
72  (
73  const GeometricField<Type, fvPatchField, volMesh>&
74  );
75 
76  template<class Type>
77  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
78  (
79  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
80  );
81 
82 
83  template<class Type, class GType>
84  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
85  (
86  const dimensioned<GType>&,
87  const GeometricField<Type, fvPatchField, volMesh>&,
88  const word&
89  );
90 
91  template<class Type, class GType>
92  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
93  (
94  const dimensioned<GType>&,
95  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
96  const word&
97  );
98 
99  template<class Type, class GType>
100  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
101  (
102  const dimensioned<GType>&,
103  const GeometricField<Type, fvPatchField, volMesh>&
104  );
105 
106  template<class Type, class GType>
107  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
108  (
109  const dimensioned<GType>&,
110  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
111  );
112 
113 
114  template<class Type, class GType>
115  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
116  (
117  const GeometricField<GType, fvPatchField, volMesh>&,
118  const GeometricField<Type, fvPatchField, volMesh>&,
119  const word&
120  );
121 
122  template<class Type, class GType>
123  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
124  (
125  const tmp<GeometricField<GType, fvPatchField, volMesh>>&,
126  const GeometricField<Type, fvPatchField, volMesh>&,
127  const word&
128  );
129 
130  template<class Type, class GType>
131  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
132  (
133  const GeometricField<GType, fvPatchField, volMesh>&,
134  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
135  const word&
136  );
137 
138  template<class Type, class GType>
139  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
140  (
141  const tmp<GeometricField<GType, fvPatchField, volMesh>>&,
142  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
143  const word&
144  );
145 
146  template<class Type, class GType>
147  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
148  (
149  const GeometricField<GType, fvPatchField, volMesh>&,
150  const GeometricField<Type, fvPatchField, volMesh>&
151  );
152 
153  template<class Type, class GType>
154  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
155  (
156  const tmp<GeometricField<GType, fvPatchField, volMesh>>&,
157  const GeometricField<Type, fvPatchField, volMesh>&
158  );
159 
160  template<class Type, class GType>
161  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
162  (
163  const GeometricField<GType, fvPatchField, volMesh>&,
164  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
165  );
166 
167  template<class Type, class GType>
168  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
169  (
170  const tmp<GeometricField<GType, fvPatchField, volMesh>>&,
171  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
172  );
173 
174 
175  template<class Type, class GType>
176  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
177  (
178  const GeometricField<GType, fvsPatchField, surfaceMesh>&,
179  const GeometricField<Type, fvPatchField, volMesh>&,
180  const word&
181  );
182 
183  template<class Type, class GType>
184  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
185  (
186  const tmp<GeometricField<GType, fvsPatchField, surfaceMesh>>&,
187  const GeometricField<Type, fvPatchField, volMesh>&,
188  const word&
189  );
190 
191  template<class Type, class GType>
192  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
193  (
194  const GeometricField<GType, fvsPatchField, surfaceMesh>&,
195  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
196  const word&
197  );
198 
199  template<class Type, class GType>
200  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
201  (
202  const tmp<GeometricField<GType, fvsPatchField, surfaceMesh>>&,
203  const tmp<GeometricField<Type, fvPatchField, volMesh>>&,
204  const word&
205  );
206 
207  template<class Type, class GType>
208  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
209  (
210  const GeometricField<GType, fvsPatchField, surfaceMesh>&,
211  const GeometricField<Type, fvPatchField, volMesh>&
212  );
213 
214  template<class Type, class GType>
215  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
216  (
217  const tmp<GeometricField<GType, fvsPatchField, surfaceMesh>>&,
218  const GeometricField<Type, fvPatchField, volMesh>&
219  );
220 
221  template<class Type, class GType>
222  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
223  (
224  const GeometricField<GType, fvsPatchField, surfaceMesh>&,
225  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
226  );
227 
228  template<class Type, class GType>
229  tmp<GeometricField<Type, fvPatchField, volMesh>> laplacian
230  (
231  const tmp<GeometricField<GType, fvsPatchField, surfaceMesh>>&,
232  const tmp<GeometricField<Type, fvPatchField, volMesh>>&
233  );
234 }
235 
236 
237 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
238 
239 } // End namespace Foam
240 
241 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
242 
243 #ifdef NoRepository
244  #include "fvcLaplacian.C"
245 #endif
246 
247 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
248 
249 #endif
250 
251 // ************************************************************************* //
volFieldsFwd.H
fvcLaplacian.C
Foam::fvc::laplacian
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:47
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
surfaceFieldsFwd.H
dimensionedTypes.H