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