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-2022 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<VolField<Type>> laplacian
56  (
57  const VolField<Type>&,
58  const word&
59  );
60 
61  template<class Type>
62  tmp<VolField<Type>> laplacian
63  (
64  const tmp<VolField<Type>>&,
65  const word&
66  );
67 
68  template<class Type>
69  tmp<VolField<Type>> laplacian
70  (
71  const VolField<Type>&
72  );
73 
74  template<class Type>
75  tmp<VolField<Type>> laplacian
76  (
77  const tmp<VolField<Type>>&
78  );
79 
80 
81  template<class Type, class GType>
82  tmp<VolField<Type>> laplacian
83  (
84  const dimensioned<GType>&,
85  const VolField<Type>&,
86  const word&
87  );
88 
89  template<class Type, class GType>
90  tmp<VolField<Type>> laplacian
91  (
92  const dimensioned<GType>&,
93  const tmp<VolField<Type>>&,
94  const word&
95  );
96 
97  template<class Type, class GType>
98  tmp<VolField<Type>> laplacian
99  (
100  const dimensioned<GType>&,
101  const VolField<Type>&
102  );
103 
104  template<class Type, class GType>
105  tmp<VolField<Type>> laplacian
106  (
107  const dimensioned<GType>&,
108  const tmp<VolField<Type>>&
109  );
110 
111 
112  template<class Type, class GType>
113  tmp<VolField<Type>> laplacian
114  (
115  const VolField<GType>&,
116  const VolField<Type>&,
117  const word&
118  );
119 
120  template<class Type, class GType>
121  tmp<VolField<Type>> laplacian
122  (
123  const tmp<VolField<GType>>&,
124  const VolField<Type>&,
125  const word&
126  );
127 
128  template<class Type, class GType>
129  tmp<VolField<Type>> laplacian
130  (
131  const VolField<GType>&,
132  const tmp<VolField<Type>>&,
133  const word&
134  );
135 
136  template<class Type, class GType>
137  tmp<VolField<Type>> laplacian
138  (
139  const tmp<VolField<GType>>&,
140  const tmp<VolField<Type>>&,
141  const word&
142  );
143 
144  template<class Type, class GType>
145  tmp<VolField<Type>> laplacian
146  (
147  const VolField<GType>&,
148  const VolField<Type>&
149  );
150 
151  template<class Type, class GType>
152  tmp<VolField<Type>> laplacian
153  (
154  const tmp<VolField<GType>>&,
155  const VolField<Type>&
156  );
157 
158  template<class Type, class GType>
159  tmp<VolField<Type>> laplacian
160  (
161  const VolField<GType>&,
162  const tmp<VolField<Type>>&
163  );
164 
165  template<class Type, class GType>
166  tmp<VolField<Type>> laplacian
167  (
168  const tmp<VolField<GType>>&,
169  const tmp<VolField<Type>>&
170  );
171 
172 
173  template<class Type, class GType>
174  tmp<VolField<Type>> laplacian
175  (
176  const SurfaceField<GType>&,
177  const VolField<Type>&,
178  const word&
179  );
180 
181  template<class Type, class GType>
182  tmp<VolField<Type>> laplacian
183  (
184  const tmp<SurfaceField<GType>>&,
185  const VolField<Type>&,
186  const word&
187  );
188 
189  template<class Type, class GType>
190  tmp<VolField<Type>> laplacian
191  (
192  const SurfaceField<GType>&,
193  const tmp<VolField<Type>>&,
194  const word&
195  );
196 
197  template<class Type, class GType>
198  tmp<VolField<Type>> laplacian
199  (
200  const tmp<SurfaceField<GType>>&,
201  const tmp<VolField<Type>>&,
202  const word&
203  );
204 
205  template<class Type, class GType>
206  tmp<VolField<Type>> laplacian
207  (
208  const SurfaceField<GType>&,
209  const VolField<Type>&
210  );
211 
212  template<class Type, class GType>
213  tmp<VolField<Type>> laplacian
214  (
215  const tmp<SurfaceField<GType>>&,
216  const VolField<Type>&
217  );
218 
219  template<class Type, class GType>
220  tmp<VolField<Type>> laplacian
221  (
222  const SurfaceField<GType>&,
223  const tmp<VolField<Type>>&
224  );
225 
226  template<class Type, class GType>
227  tmp<VolField<Type>> laplacian
228  (
229  const tmp<SurfaceField<GType>>&,
230  const tmp<VolField<Type>>&
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< VolField< Type > > laplacian(const VolField< Type > &vf, const word &name)
Definition: fvcLaplacian.C:45
Namespace for OpenFOAM.