54 pointPatchField<Type>& f1,
60 template<
class Type, direction r>
81 pointPatchField<scalar>& sf,
90 pointPatchField<scalar>& sf,
108 pointPatchField<Type>& cf,
109 const pointPatchField<Type>&
f 114 #define BINARY_FUNCTION(func) \ 116 template<class Type> \ 119 pointPatchField<Type>& f, \ 120 const pointPatchField<Type>& f1, \ 121 const pointPatchField<Type>& f2 \ 125 template<class Type> \ 128 pointPatchField<Type>& f, \ 129 const pointPatchField<Type>& f1, \ 149 inline Type
max(
const pointPatchField<Type>&)
157 #define UNARY_OPERATOR(op, opFunc) \ 159 template<class Type> \ 162 pointPatchField<Type>& f, \ 163 const pointPatchField<Type>& f1 \ 169 #define BINARY_OPERATOR(Type1, Type2, op, opFunc) \ 171 template<class Type> \ 174 pointPatchField<Type>& f, \ 175 const pointPatchField<Type1>& f1, \ 176 const pointPatchField<Type2>& f2 \ 184 #define BINARY_TYPE_OPERATOR_SF(TYPE, op, opFunc) \ 186 template<class Type> \ 189 pointPatchField<Type>& f, \ 191 const pointPatchField<Type>& f1 \ 196 #define BINARY_TYPE_OPERATOR_FS(TYPE, op, opFunc) \ 198 template<class Type> \ 201 pointPatchField<Type>& f, \ 202 const pointPatchField<Type>& f1, \ 213 #define PRODUCT_OPERATOR(product, op, opFunc) \ 223 <typename product<Type1, Type2>::type>& f, \ 224 const pointPatchField<Type1>& f1, \ 225 const pointPatchField<Type2>& f2 \ 239 <typename product<Type, Form>::type>& f, \ 240 const pointPatchField<Type>& f1, \ 241 const VectorSpace<Form,Cmpt,nCmpt>& vs \ 255 <typename product<Form, Type>::type>& f, \ 256 const VectorSpace<Form,Cmpt,nCmpt>& vs, \ 257 const pointPatchField<Type>& f1 \ 269 #undef PRODUCT_OPERATOR 344 pointPatchField<tensor>&,
345 const pointPatchField<tensor>&
358 template<
class Tout,
class T1,
class UnaryOp>
368 template<
class Tout,
class T1,
class T2,
class BinaryOp>
378 template<
class T,
class BinaryOp>
388 template<
class T,
class BoolType,
class FlipOp>
void divide(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv(const DimensionedField< Type, GeoMesh > &f1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
#define BINARY_FUNCTION(func)
dimensionedTensor skew(const dimensionedTensor &dt)
void ternarySelect(Field< T > &result, const BoolListType &cond, const Field< T > &a, const Field< T > &b, const FlipOp &flip)
Emulate a ternary operation, selecting values from a or b depending on the conditional.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
pTraits< Type >::cmptType cmptType
Component type.
A traits class, which is primarily used for primitives and vector-space.
#define BINARY_OPERATOR(Type1, Type2, op, opFunc)
void cross(FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
dimensionedScalar det(const dimensionedSphericalTensor &dt)
#define PRODUCT_OPERATOR(product, op, opFunc)
void dotdot(FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define BINARY_TYPE_OPERATOR_SF(TYPE, op, opFunc)
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
Abstract base class for point-mesh patch fields.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
#define BINARY_TYPE_OPERATOR_FS(TYPE, op, opFunc)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
void negate(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
void assign(Field< Tout > &result, const Field< T1 > &a, const UnaryOp &op)
Populate a field as the result of a unary operation on an input.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define UNARY_OPERATOR(op, opFunc)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
symmTypeOfRank< typename pTraits< arg1 >::cmptType, arg2 *direction(pTraits< arg1 >::rank) >::type type
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void ternary(Field< T > &result, const Field< T > &a, const Field< T > &b, const BinaryOp &bop)
Emulate a ternary operation, selecting values from a or b depending on the binary predicate...
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
Type min(const pointPatchField< Type > &)
void multiply(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)