Go to the documentation of this file.
46 #define EqOp(opName, op) \
48 template<class T1, class T2> \
53 void operator()(T1& x, const T2& y) const \
64 void operator()(T& x, const T& y) const \
94 #define WARNRETURN __attribute__((warn_unused_result))
99 #define Op(opName, op) \
101 template<class T, class T1, class T2> \
106 T operator()(const T1& x, const T2& y) const WARNRETURN \
112 template<class T1, class T2> \
117 T1 operator()(const T1& x, const T2& y) const WARNRETURN \
128 T operator()(const T& x, const T& y) const WARNRETURN \
135 #define weightedOp(opName, op) \
137 template<class Type, class CombineOp> \
138 class opName##WeightedOp \
140 const CombineOp& cop_; \
144 opName##WeightedOp(const CombineOp& cop) \
154 const scalar weight \
Scalar cmptPow(const Scalar s1, const Scalar s2)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
static bool less(const vector &x, const vector &y)
To compare normals.
dimensioned< scalar > mag(const dimensioned< Type > &)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Type maxMagSqr(const UList< Type > &f)
#define weightedOp(opName, op)
tmp< DimensionedField< scalar, GeoMesh > > stabilise(const DimensionedField< scalar, GeoMesh > &dsf, const dimensioned< scalar > &ds)
Type minMagSqr(const UList< Type > &f)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
Scalar minMod(const Scalar s1, const Scalar s2)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > magSqr(const dimensioned< Type > &)