32 template<class Type, template<class> class PatchField, class GeoMesh>
42template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
51 const GeometricField<Type, PatchField, GeoMesh>& f1,
55template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
58 GeometricField<Type, PatchField, GeoMesh>& result,
59 const GeometricField<Type, PatchField, GeoMesh>& f1
65 template<
class>
class PatchField,
73 const GeometricField<Type, PatchField, GeoMesh>& f1
79 template<
class>
class PatchField,
90 const GeometricField<Type, PatchField, GeoMesh>& f1,
97 template<
class>
class PatchField,
108 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1,
112template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
117 const GeometricField<Type, PatchField, GeoMesh>& gf1
120template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
130sqr(
const GeometricField<Type, PatchField, GeoMesh>& f1);
132template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
142sqr(
const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1);
144template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
148 const GeometricField<Type, PatchField, GeoMesh>& f1
151template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
152tmp<GeometricField<typename typeOfMag<Type>::type, PatchField, GeoMesh>>
155 const GeometricField<Type, PatchField, GeoMesh>& f1
158template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
159tmp<GeometricField<typename typeOfMag<Type>::type, PatchField, GeoMesh>>
162 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1
165template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
169 const GeometricField<Type, PatchField, GeoMesh>& tf1
172template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
173tmp<GeometricField<typename typeOfMag<Type>::type, PatchField, GeoMesh>>
176 const GeometricField<Type, PatchField, GeoMesh>& f1
179template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
180tmp<GeometricField<typename typeOfMag<Type>::type, PatchField, GeoMesh>>
183 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1
186template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
195 const GeometricField<Type, PatchField, GeoMesh>& f1
198template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
208cmptAv(
const GeometricField<Type, PatchField, GeoMesh>& f1);
210template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
220cmptAv(
const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1);
223#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(ReturnType, Func, BinaryOp) \
225template<class Type, template<class> class PatchField, class GeoMesh> \
226dimensioned<ReturnType> Func \
228 const GeometricField<Type, PatchField, GeoMesh>& f1, \
229 const label comm = UPstream::worldComm \
232template<class Type, template<class> class PatchField, class GeoMesh> \
233dimensioned<ReturnType> Func \
235 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1, \
236 const label comm = UPstream::worldComm \
244#undef UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY
247#define UNARY_REDUCTION_FUNCTION(ReturnType, Func) \
250template<class Type, template<class> class PatchField, class GeoMesh> \
251dimensioned<ReturnType> Func \
253 const GeometricField<Type, PatchField, GeoMesh>& f1, \
254 const label comm = UPstream::worldComm \
257template<class Type, template<class> class PatchField, class GeoMesh> \
258dimensioned<ReturnType> Func \
260 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1, \
261 const label comm = UPstream::worldComm \
268#undef UNARY_REDUCTION_FUNCTION
285template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
288 GeometricField<Type, PatchField, GeoMesh>& result,
289 const GeometricField<Type, PatchField, GeoMesh>& f1,
293template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
294tmp<GeometricField<Type, PatchField, GeoMesh>>
297 const GeometricField<Type, PatchField, GeoMesh>& f1,
301template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
302tmp<GeometricField<Type, PatchField, GeoMesh>>
305 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1,
334#define PRODUCT_OPERATOR(product, Op, OpFunc) \
337<class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
341 <typename product<Type1, Type2>::type, PatchField, GeoMesh>& result, \
342 const GeometricField<Type1, PatchField, GeoMesh>& f1, \
343 const GeometricField<Type2, PatchField, GeoMesh>& f2 \
347<class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
351 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
355 const GeometricField<Type1, PatchField, GeoMesh>& f1, \
356 const GeometricField<Type2, PatchField, GeoMesh>& f2 \
360<class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
364 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
368 const GeometricField<Type1, PatchField, GeoMesh>& f1, \
369 const tmp<GeometricField<Type2, PatchField, GeoMesh>>& tf2 \
373<class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
377 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
381 const tmp<GeometricField<Type1, PatchField, GeoMesh>>& tf1, \
382 const GeometricField<Type2, PatchField, GeoMesh>& f2 \
386<class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
390 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
394 const tmp<GeometricField<Type1, PatchField, GeoMesh>>& tf1, \
395 const tmp<GeometricField<Type2, PatchField, GeoMesh>>& tf2 \
399<class Form, class Type, template<class> class PatchField, class GeoMesh> \
403 <typename product<Type, Form>::type, PatchField, GeoMesh>& result, \
404 const GeometricField<Type, PatchField, GeoMesh>& f1, \
405 const dimensioned<Form>& dvs \
409<class Form, class Type, template<class> class PatchField, class GeoMesh> \
413 <typename product<Type, Form>::type, PatchField, GeoMesh> \
417 const GeometricField<Type, PatchField, GeoMesh>& f1, \
418 const dimensioned<Form>& dvs \
426 class Type, template<class> class PatchField, \
432 <typename product<Form, Type>::type, PatchField, GeoMesh> \
436 const GeometricField<Type, PatchField, GeoMesh>& f1, \
437 const VectorSpace<Form,Cmpt,nCmpt>& vs \
441<class Form, class Type, template<class> class PatchField, class GeoMesh> \
445 <typename product<Type, Form>::type, PatchField, GeoMesh> \
449 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1, \
450 const dimensioned<Form>& dvs \
458 class Type, template<class> class PatchField, \
464 <typename product<Form, Type>::type, PatchField, GeoMesh> \
468 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf1, \
469 const VectorSpace<Form,Cmpt,nCmpt>& vs \
473<class Form, class Type, template<class> class PatchField, class GeoMesh> \
477 <typename product<Form, Type>::type, PatchField, GeoMesh>& result, \
478 const dimensioned<Form>& dvs, \
479 const GeometricField<Type, PatchField, GeoMesh>& f2 \
483<class Form, class Type, template<class> class PatchField, class GeoMesh> \
487 <typename product<Form, Type>::type, PatchField, GeoMesh> \
491 const dimensioned<Form>& dvs, \
492 const GeometricField<Type, PatchField, GeoMesh>& f2 \
500 class Type, template<class> class PatchField, \
506 <typename product<Form, Type>::type, PatchField, GeoMesh> \
510 const VectorSpace<Form,Cmpt,nCmpt>& vs, \
511 const GeometricField<Type, PatchField, GeoMesh>& f2 \
515<class Form, class Type, template<class> class PatchField, class GeoMesh> \
519 <typename product<Form, Type>::type, PatchField, GeoMesh> \
523 const dimensioned<Form>& dvs, \
524 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf2 \
532 class Type, template<class> class PatchField, \
538 <typename product<Form, Type>::type, PatchField, GeoMesh> \
542 const VectorSpace<Form,Cmpt,nCmpt>& vs, \
543 const tmp<GeometricField<Type, PatchField, GeoMesh>>& tf2 \
554#undef PRODUCT_OPERATOR
#define BINARY_FUNCTION(ReturnType, Type1, Type2, Func)
#define BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define TERNARY_FUNCTION(ReturnType, Type1, Type2, Type3, Func)
#define TERNARY_TYPE_FUNCTION_FFS(ReturnType, Type1, Type2, Type3, Func)
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define BINARY_TYPE_FUNCTION(ReturnType, Type1, Type2, Func)
#define UNARY_REDUCTION_FUNCTION(ReturnType, Func, gFunc)
#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(ReturnType, Func, BinaryOp)
Scalar specific part of the implementation of GeometricField.
Field< Type >::cmptType cmptType
Component type of the field elements.
typeOfRank< typenamepTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank)>::type type
symmTypeOfRank< typenamepTraits< arg1 >::cmptType, arg2 *direction(pTraits< arg1 >::rank)>::type type
pTraits< typenamepTraits< arg1 >::cmptType >::magType type
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
#define PRODUCT_OPERATOR(product, op, opFunc)
dimensioned< scalarMinMax > minMaxMag(const DimensionedField< Type, GeoMesh > &f1, const label comm)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
void subtract(DimensionedField< scalar, GeoMesh > &result, const dimensioned< scalar > &dt1, const DimensionedField< scalar, GeoMesh > &f2)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
refinementData transform(const tensor &, const refinementData val)
No-op rotational transform for base types.
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
void divide(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
MinMax< scalar > scalarMinMax
A scalar min/max range.
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh > > cmptAv(const DimensionedField< Type, GeoMesh > &f1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &f1, const label comm)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
void dotdot(FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
void cross(FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
void negate(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1)
void multiply(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &f1, const label comm)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< Type > lerp(const dimensioned< Type > &a, const dimensioned< Type > &b, const scalar t)
dimensioned< typename typeOfMag< Type >::type > sumMag(const DimensionedField< Type, GeoMesh > &f1, const label comm)
dict add("bounds", meshBb)