FieldFieldFunctions.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  Copyright (C) 2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
29 #include "scalarFieldField.H"
30 
31 #define TEMPLATE template<template<class> class Field, class Type>
32 #include "FieldFieldFunctionsM.H"
33 
34 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
35 
36 namespace Foam
37 {
38 
39 /* * * * * * * * * * * * * * * * Global functions * * * * * * * * * * * * * */
40 
41 template<template<class> class Field, class Type>
42 void component
43 (
44  FieldField<Field, typename FieldField<Field, Type>::cmptType>& sf,
45  const FieldField<Field, Type>& f,
46  const direction d
47 );
48 
49 template<template<class> class Field, class Type>
50 void T(FieldField<Field, Type>& f1, const FieldField<Field, Type>& f2);
51 
52 
53 template<template<class> class Field, class Type, direction r>
54 void pow
55 (
56  FieldField<Field, typename powProduct<Type, r>::type>& f,
57  const FieldField<Field, Type>& vf
58 );
59 
60 template<template<class> class Field, class Type, direction r>
62 pow
63 (
64  const FieldField<Field, Type>& f, typename powProduct<Type, r>::type
65  = pTraits<typename powProduct<Type, r>::type>::zero
66 );
67 
68 template<template<class> class Field, class Type, direction r>
70 pow
71 (
72  const tmp<FieldField<Field, Type>>& tf, typename powProduct<Type, r>::type
73  = pTraits<typename powProduct<Type, r>::type>::zero
74 );
75 
76 
77 template<template<class> class Field, class Type>
78 void sqr
79 (
80  FieldField<Field, typename outerProduct<Type, Type>::type>& f,
81  const FieldField<Field, Type>& vf
82 );
83 
84 template<template<class> class Field, class Type>
86 sqr(const FieldField<Field, Type>& f);
87 
88 template<template<class> class Field, class Type>
90 sqr(const tmp<FieldField<Field, Type>>& tf);
91 
92 
93 template<template<class> class Field, class Type>
94 void magSqr
95 (
96  FieldField<Field, typename typeOfMag<Type>::type>& sf,
97  const FieldField<Field, Type>& f
98 );
99 
100 template<template<class> class Field, class Type>
102 magSqr(const FieldField<Field, Type>& f);
103 
104 template<template<class> class Field, class Type>
106 magSqr(const tmp<FieldField<Field, Type>>& tf);
107 
108 
109 template<template<class> class Field, class Type>
110 void mag
111 (
112  FieldField<Field, typename typeOfMag<Type>::type>& res,
113  const FieldField<Field, Type>& f
114 );
115 
116 template<template<class> class Field, class Type>
118 mag(const FieldField<Field, Type>& f);
119 
120 template<template<class> class Field, class Type>
122 mag(const tmp<FieldField<Field, Type>>& tf);
123 
124 
125 template<template<class> class Field, class Type>
126 void cmptMax
127 (
128  FieldField<Field, typename FieldField<Field, Type>::cmptType>& cf,
129  const FieldField<Field, Type>& f
130 );
131 
132 template<template<class> class Field, class Type>
133 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptMax
134 (
135  const FieldField<Field, Type>& f
136 );
137 
138 template<template<class> class Field, class Type>
139 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptMax
140 (
141  const tmp<FieldField<Field, Type>>& tf
142 );
143 
144 
145 template<template<class> class Field, class Type>
146 void cmptMin
147 (
148  FieldField<Field, typename FieldField<Field, Type>::cmptType>& cf,
149  const FieldField<Field, Type>& f
150 );
151 
152 template<template<class> class Field, class Type>
153 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptMin
154 (
155  const FieldField<Field, Type>& f
156 );
157 
158 template<template<class> class Field, class Type>
159 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptMin
160 (
161  const tmp<FieldField<Field, Type>>& tf
162 );
163 
164 
165 template<template<class> class Field, class Type>
166 void cmptAv
167 (
168  FieldField<Field, typename FieldField<Field, Type>::cmptType>& cf,
169  const FieldField<Field, Type>& f
170 );
171 
172 template<template<class> class Field, class Type>
173 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptAv
174 (
175  const FieldField<Field, Type>& f
176 );
177 
178 template<template<class> class Field, class Type>
179 tmp<FieldField<Field, typename FieldField<Field, Type>::cmptType>> cmptAv
180 (
181  const tmp<FieldField<Field, Type>>& tf
182 );
183 
184 
185 template<template<class> class Field, class Type>
186 void cmptMag
187 (
188  FieldField<Field, Type>& cf,
189  const FieldField<Field, Type>& f
190 );
191 
192 template<template<class> class Field, class Type>
193 tmp<FieldField<Field, Type>> cmptMag
194 (
195  const FieldField<Field, Type>& f
196 );
197 
198 template<template<class> class Field, class Type>
199 tmp<FieldField<Field, Type>> cmptMag
200 (
201  const tmp<FieldField<Field, Type>>& tf
202 );
203 
204 
205 #define TMP_UNARY_FUNCTION(returnType, func) \
206  \
207 template<template<class> class Field, class Type> \
208 returnType func(const tmp<FieldField<Field, Type>>& tf1);
209 
210 
211 template<template<class> class Field, class Type>
212 Type max(const FieldField<Field, Type>& f);
213 
214 TMP_UNARY_FUNCTION(Type, max)
215 
216 
217 template<template<class> class Field, class Type>
218 Type min(const FieldField<Field, Type>& f);
219 
220 TMP_UNARY_FUNCTION(Type, min)
221 
222 
223 template<template<class> class Field, class Type>
224 Type sum(const FieldField<Field, Type>& f);
225 
226 TMP_UNARY_FUNCTION(Type, sum)
227 
228 
229 template<template<class> class Field, class Type>
230 typename typeOfMag<Type>::type sumMag(const FieldField<Field, Type>& f);
231 
233 
234 
235 template<template<class> class Field, class Type>
236 Type average(const FieldField<Field, Type>& f);
237 
239 
240 
241 //- Return min/max for a field of fields
242 template<template<class> class Field, class Type>
243 MinMax<Type> minMax(const FieldField<Field, Type>& f);
244 
245 TMP_UNARY_FUNCTION(MinMax<Type>, minMax)
246 
247 //- Return mag min/max for a field of fields
248 template<template<class> class Field, class Type>
249 scalarMinMax minMaxMag(const FieldField<Field, Type>& f);
250 
252 
253 
254 // With reduction on ReturnType
255 #define G_UNARY_FUNCTION(ReturnType, gFunc, func, rFunc) \
256  \
257 template<template<class> class Field, class Type> \
258 ReturnType gFunc(const FieldField<Field, Type>& f); \
259 TMP_UNARY_FUNCTION(ReturnType, gFunc)
260 
261 G_UNARY_FUNCTION(Type, gMax, max, max)
262 G_UNARY_FUNCTION(Type, gMin, min, min)
263 G_UNARY_FUNCTION(Type, gSum, sum, sum)
264 G_UNARY_FUNCTION(MinMax<Type>, gMinMax, minMax, sum)
266 
268 
269 #undef G_UNARY_FUNCTION
270 
271 
272 template<template<class> class Field, class Type>
273 Type gAverage(const FieldField<Field, Type>& f);
274 
276 
277 #undef TMP_UNARY_FUNCTION
278 
279 
280 BINARY_FUNCTION(Type, Type, Type, max)
281 BINARY_FUNCTION(Type, Type, Type, min)
282 BINARY_FUNCTION(Type, Type, Type, cmptMultiply)
283 BINARY_FUNCTION(Type, Type, Type, cmptDivide)
284 
285 BINARY_TYPE_FUNCTION(Type, Type, Type, max)
286 BINARY_TYPE_FUNCTION(Type, Type, Type, min)
287 BINARY_TYPE_FUNCTION(Type, Type, Type, cmptMultiply)
288 BINARY_TYPE_FUNCTION(Type, Type, Type, cmptDivide)
289 
290 BINARY_TYPE_FUNCTION_FS(Type, Type, MinMax<Type>, clip)
291 
292 
293 /* * * * * * * * * * * * * * * * Global operators * * * * * * * * * * * * * */
294 
295 UNARY_OPERATOR(Type, Type, -, negate)
296 
297 BINARY_OPERATOR(Type, Type, scalar, *, multiply)
298 BINARY_OPERATOR(Type, scalar, Type, *, multiply)
299 BINARY_OPERATOR(Type, Type, scalar, /, divide)
300 
301 BINARY_TYPE_OPERATOR_SF(Type, scalar, Type, *, multiply)
302 BINARY_TYPE_OPERATOR_FS(Type, Type, scalar, *, multiply)
303 
304 BINARY_TYPE_OPERATOR_FS(Type, Type, scalar, /, divide)
305 
306 
307 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
308 
309 #define PRODUCT_OPERATOR(product, op, opFunc) \
310  \
311 template \
312 < \
313  template<class> class Field1, \
314  template<class> class Field2, \
315  class Type1, \
316  class Type2 \
317 > \
318 void opFunc \
319 ( \
320  FieldField<Field1, typename product<Type1, Type2>::type>& f, \
321  const FieldField<Field1, Type1>& f1, \
322  const FieldField<Field2, Type2>& f2 \
323 ); \
324  \
325 template \
326 < \
327  template<class> class Field1, \
328  template<class> class Field2, \
329  class Type1, \
330  class Type2 \
331 > \
332 tmp<FieldField<Field1, typename product<Type1, Type2>::type>> \
333 operator op \
334 ( \
335  const FieldField<Field1, Type1>& f1, \
336  const FieldField<Field2, Type2>& f2 \
337 ); \
338  \
339 template<template<class> class Field, class Type1, class Type2> \
340 tmp<FieldField<Field, typename product<Type1, Type2>::type>> \
341 operator op \
342 ( \
343  const FieldField<Field, Type1>& f1, \
344  const tmp<FieldField<Field, Type2>>& tf2 \
345 ); \
346  \
347 template \
348 < \
349  template<class> class Field1, \
350  template<class> class Field2, \
351  class Type1, \
352  class Type2 \
353 > \
354 tmp<FieldField<Field1, typename product<Type1, Type2>::type>> \
355 operator op \
356 ( \
357  const FieldField<Field1, Type1>& f1, \
358  const tmp<FieldField<Field2, Type2>>& tf2 \
359 ); \
360  \
361 template \
362 < \
363  template<class> class Field1, \
364  template<class> class Field2, \
365  class Type1, \
366  class Type2 \
367 > \
368 tmp<FieldField<Field1, typename product<Type1, Type2>::type>> \
369 operator op \
370 ( \
371  const tmp<FieldField<Field1, Type1>>& tf1, \
372  const FieldField<Field2, Type2>& f2 \
373 ); \
374  \
375 template \
376 < \
377  template<class> class Field1, \
378  template<class> class Field2, \
379  class Type1, \
380  class Type2 \
381 > \
382 tmp<FieldField<Field1, typename product<Type1, Type2>::type>> \
383 operator op \
384 ( \
385  const tmp<FieldField<Field1, Type1>>& tf1, \
386  const tmp<FieldField<Field2, Type2>>& tf2 \
387 ); \
388  \
389 template \
390 < \
391  template<class> class Field, \
392  class Type, \
393  class Form, \
394  class Cmpt, \
395  direction nCmpt \
396 > \
397 void opFunc \
398 ( \
399  FieldField<Field, typename product<Type, Form>::type>& f, \
400  const FieldField<Field, Type>& f1, \
401  const VectorSpace<Form,Cmpt,nCmpt>& vs \
402 ); \
403  \
404 template \
405 < \
406  template<class> class Field, \
407  class Type, \
408  class Form, \
409  class Cmpt, \
410  direction nCmpt \
411 > \
412 tmp<FieldField<Field, typename product<Type, Form>::type>> \
413 operator op \
414 ( \
415  const FieldField<Field, Type>& f1, \
416  const VectorSpace<Form,Cmpt,nCmpt>& vs \
417 ); \
418  \
419 template \
420 < \
421  template<class> class Field, \
422  class Type, \
423  class Form, \
424  class Cmpt, \
425  direction nCmpt \
426 > \
427 tmp<FieldField<Field, typename product<Type, Form>::type>> \
428 operator op \
429 ( \
430  const tmp<FieldField<Field, Type>>& tf1, \
431  const VectorSpace<Form,Cmpt,nCmpt>& vs \
432 ); \
433  \
434 template \
435 < \
436  template<class> class Field, \
437  class Type, \
438  class Form, \
439  class Cmpt, \
440  direction nCmpt \
441 > \
442 void opFunc \
443 ( \
444  FieldField<Field, typename product<Form, Type>::type>& f, \
445  const VectorSpace<Form,Cmpt,nCmpt>& vs, \
446  const FieldField<Field, Type>& f1 \
447 ); \
448  \
449 template \
450 < \
451  template<class> class Field, \
452  class Type, \
453  class Form, \
454  class Cmpt, \
455  direction nCmpt \
456 > \
457 tmp<FieldField<Field, typename product<Form, Type>::type>> \
458 operator op \
459 ( \
460  const VectorSpace<Form,Cmpt,nCmpt>& vs, \
461  const FieldField<Field, Type>& f1 \
462 ); \
463  \
464 template \
465 < \
466  template<class> class Field, \
467  class Type, \
468  class Form, \
469  class Cmpt, \
470  direction nCmpt \
471 > \
472 tmp<FieldField<Field, typename product<Form, Type>::type>> \
473 operator op \
474 ( \
475  const VectorSpace<Form,Cmpt,nCmpt>& vs, \
476  const tmp<FieldField<Field, Type>>& tf1 \
477 );
478 
479 PRODUCT_OPERATOR(typeOfSum, +, add)
480 PRODUCT_OPERATOR(typeOfSum, -, subtract)
481 
482 PRODUCT_OPERATOR(outerProduct, *, outer)
483 PRODUCT_OPERATOR(crossProduct, ^, cross)
484 PRODUCT_OPERATOR(innerProduct, &, dot)
485 PRODUCT_OPERATOR(scalarProduct, &&, dotdot)
486 
487 #undef PRODUCT_OPERATOR
488 
489 
490 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
491 
492 } // End namespace Foam
493 
494 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
495 
496 #include "undefFieldFunctionsM.H"
497 
498 // ************************************************************************* //
BINARY_TYPE_OPERATOR_SF
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Definition: DimensionedFieldFunctionsM.C:522
BINARY_OPERATOR
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Definition: DimensionedFieldFunctionsM.C:412
Foam::subtract
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:940
Foam::gSumMag
typeOfMag< Type >::type gSumMag(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:598
Foam::component
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
Definition: FieldFieldFunctions.C:44
Foam::cmptMultiply
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
Foam::gAverage
Type gAverage(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:604
Foam::outerProduct::type
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
Definition: products.H:114
TMP_UNARY_FUNCTION
#define TMP_UNARY_FUNCTION(returnType, func)
Definition: FieldFieldFunctions.H:205
Foam::dot
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:944
undefFieldFunctionsM.H
Foam::sumMag
dimensioned< typename typeOfMag< Type >::type > sumMag(const DimensionedField< Type, GeoMesh > &df)
Definition: DimensionedFieldFunctions.C:332
Foam::powProduct::type
symmTypeOfRank< typename pTraits< arg1 >::cmptType, arg2 *direction(pTraits< arg1 >::rank) >::type type
Definition: products.H:170
Foam::gMinMaxMag
scalarMinMax gMinMaxMag(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:596
Foam::gSum
Type gSum(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:594
BINARY_FUNCTION
#define BINARY_FUNCTION(ReturnType, Type1, Type2, Func)
Definition: DimensionedFieldFunctionsM.C:141
Foam::min
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Definition: hashSets.C:33
Foam::magSqr
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
Foam::divide
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Foam::cmptMin
void cmptMin(FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:302
Foam::cmptMag
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:400
Foam::cmptMax
void cmptMax(FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:253
BINARY_TYPE_FUNCTION_FS
#define BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func)
Definition: DimensionedFieldFunctionsM.C:329
Foam::T
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Definition: FieldFieldFunctions.C:58
Foam::cmptAv
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv(const DimensionedField< Type, GeoMesh > &df)
Definition: DimensionedFieldFunctions.C:246
Foam::pow
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Definition: dimensionedScalar.C:75
Foam::max
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Definition: hashSets.C:47
Foam::scalarMinMax
MinMax< scalar > scalarMinMax
A scalar min/max range.
Definition: MinMax.H:117
PRODUCT_OPERATOR
#define PRODUCT_OPERATOR(product, op, opFunc)
Definition: FieldFieldFunctions.H:309
Foam::negate
void negate(FieldField< Field, Type > &res, const FieldField< Field, Type > &f)
Foam::minMaxMag
dimensioned< scalarMinMax > minMaxMag(const DimensionedField< Type, GeoMesh > &df)
Definition: DimensionedFieldFunctions.C:330
Foam::add
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:939
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
FieldFieldFunctionsM.H
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
BINARY_TYPE_FUNCTION
#define BINARY_TYPE_FUNCTION(ReturnType, Type1, Type2, Func)
Definition: DimensionedFieldFunctionsM.C:405
Foam::cmptDivide
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
Foam::FieldField::cmptType
pTraits< Type >::cmptType cmptType
Component type.
Definition: FieldField.H:84
scalarFieldField.H
Specialisation of FieldField<T> for scalar.
Foam::sqr
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Definition: dimensionedSymmTensor.C:51
Foam::clip
dimensionSet clip(const dimensionSet &ds1, const dimensionSet &ds2)
Definition: dimensionSet.C:278
UNARY_OPERATOR
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
Definition: DimensionedFieldFunctionsM.C:87
f
labelList f(nPoints)
Foam::mag
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Foam::outer
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:942
Foam::sum
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
Definition: DimensionedFieldFunctions.C:327
Foam::direction
uint8_t direction
Definition: direction.H:52
Foam::roots::type
type
Types of root.
Definition: Roots.H:54
Foam::minMax
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
Definition: hashSets.C:61
Foam::gMin
Type gMin(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:593
BINARY_TYPE_OPERATOR_FS
#define BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Definition: DimensionedFieldFunctionsM.C:599
Foam::multiply
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Foam::cross
void cross(FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:943
Foam::typeOfMag::type
pTraits< typename pTraits< arg1 >::cmptType >::magType type
Definition: products.H:92
Foam::gMax
Type gMax(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:592
Foam::average
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
Definition: DimensionedFieldFunctions.C:328
Foam::gMinMax
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
Definition: FieldFieldFunctions.C:595
Foam::dotdot
void dotdot(FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Definition: FieldFieldFunctions.C:945
G_UNARY_FUNCTION
#define G_UNARY_FUNCTION(ReturnType, gFunc, func, rFunc)
Definition: FieldFieldFunctions.H:255