facLaplacian.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) 2016-2017 Wikki Ltd
9-------------------------------------------------------------------------------
10License
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
26InNamespace
27 Foam::fac
28
29Description
30 Calculate the laplacian of the given field.
31
32SourceFiles
33 facLaplacian.C
34
35\*---------------------------------------------------------------------------*/
36
37
38#ifndef facLaplacian_H
39#define facLaplacian_H
40
41#include "areaFieldsFwd.H"
42#include "edgeFieldsFwd.H"
43#include "dimensionedTypes.H"
44
45// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47namespace Foam
48{
49
50/*---------------------------------------------------------------------------*\
51 Namespace fac functions Declaration
52\*---------------------------------------------------------------------------*/
53
54namespace fac
55{
56 template<class Type>
57 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
58 (
59 const GeometricField<Type, faPatchField, areaMesh>&,
60 const word&
61 );
62
63 template<class Type>
64 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
65 (
66 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
67 const word&
68 );
69
70
71 template<class Type>
72 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
73 (
74 const GeometricField<Type, faPatchField, areaMesh>&
75 );
76
77 template<class Type>
78 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
79 (
80 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
81 );
82
83
84 template<class Type>
85 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
86 (
87 const dimensionedScalar&,
88 const GeometricField<Type, faPatchField, areaMesh>&,
89 const word&
90 );
91
92 template<class Type>
93 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
94 (
95 const dimensionedScalar&,
96 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
97 const word&
98 );
99
100
101 template<class Type>
102 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
103 (
104 const dimensionedScalar&,
105 const GeometricField<Type, faPatchField, areaMesh>&
106 );
107
108 template<class Type>
109 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
110 (
111 const dimensionedScalar&,
112 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
113 );
114
115
116 template<class Type>
117 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
118 (
119 const areaScalarField&,
120 const GeometricField<Type, faPatchField, areaMesh>&,
121 const word&
122 );
123
124 template<class Type>
125 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
126 (
127 const tmp<areaScalarField>&,
128 const GeometricField<Type, faPatchField, areaMesh>&,
129 const word&
130 );
131
132 template<class Type>
133 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
134 (
135 const areaScalarField&,
136 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
137 const word&
138 );
139
140 template<class Type>
141 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
142 (
143 const tmp<areaScalarField>&,
144 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
145 const word&
146 );
147
148
149 template<class Type>
150 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
151 (
152 const areaScalarField&,
153 const GeometricField<Type, faPatchField, areaMesh>&
154 );
155
156 template<class Type>
157 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
158 (
159 const tmp<areaScalarField>&,
160 const GeometricField<Type, faPatchField, areaMesh>&
161 );
162
163 template<class Type>
164 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
165 (
166 const areaScalarField&,
167 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
168 );
169
170 template<class Type>
171 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
172 (
173 const tmp<areaScalarField>&,
174 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
175 );
176
177
178 template<class Type>
179 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
180 (
181 const edgeScalarField&,
182 const GeometricField<Type, faPatchField, areaMesh>&,
183 const word&
184 );
185
186 template<class Type>
187 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
188 (
189 const tmp<edgeScalarField>&,
190 const GeometricField<Type, faPatchField, areaMesh>&,
191 const word&
192 );
193
194 template<class Type>
195 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
196 (
197 const edgeScalarField&,
198 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
199 const word&
200 );
201
202 template<class Type>
203 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
204 (
205 const tmp<edgeScalarField>&,
206 const tmp<GeometricField<Type, faPatchField, areaMesh>>&,
207 const word&
208 );
209
210
211 template<class Type>
212 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
213 (
214 const edgeScalarField&,
215 const GeometricField<Type, faPatchField, areaMesh>&
216 );
217
218 template<class Type>
219 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
220 (
221 const tmp<edgeScalarField>&,
222 const GeometricField<Type, faPatchField, areaMesh>&
223 );
224
225 template<class Type>
226 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
227 (
228 const edgeScalarField&,
229 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
230 );
231
232 template<class Type>
233 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
234 (
235 const tmp<edgeScalarField>&,
236 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
237 );
238
239 /*
240 template<class Type>
241 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
242 (
243 const areaTensorField&,
244 const GeometricField<Type, faPatchField, areaMesh>&
245 );
246
247 template<class Type>
248 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
249 (
250 const tmp<areaTensorField>&,
251 const GeometricField<Type, faPatchField, areaMesh>&
252 );
253
254 template<class Type>
255 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
256 (
257 const areaTensorField&,
258 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
259 );
260
261 template<class Type>
262 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
263 (
264 const tmp<areaTensorField>&,
265 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
266 );
267
268
269 template<class Type>
270 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
271 (
272 const edgeTensorField&,
273 const GeometricField<Type, faPatchField, areaMesh>&
274 );
275
276 template<class Type>
277 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
278 (
279 const tmp<edgeTensorField>&,
280 const GeometricField<Type, faPatchField, areaMesh>&
281 );
282
283 template<class Type>
284 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
285 (
286 const edgeTensorField&,
287 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
288 );
289
290 template<class Type>
291 tmp<GeometricField<Type, faPatchField, areaMesh>> laplacian
292 (
293 const tmp<edgeTensorField>&,
294 const tmp<GeometricField<Type, faPatchField, areaMesh>>&
295 );
296 */
297}
298
299
300// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
301
302} // End namespace Foam
303
304// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
305
306#ifdef NoRepository
307 #include "facLaplacian.C"
308#else
309 #ifdef xlC
310 #pragma implementation("facLaplacian.C")
311 #endif
312#endif
313
314// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
315
316#endif
317
318// ************************************************************************* //
Forwards and collection of common area field types.
Forwards for edge field types.
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
Definition: facLaplacian.C:47
Namespace for OpenFOAM.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, faePatchField, edgeMesh > edgeScalarField
Definition: edgeFieldsFwd.H:63
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
Definition: areaFieldsFwd.H:78
Calculate the second temporal derivative.