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 \
95 #define WARNRETURN __attribute__((warn_unused_result))
100 #define Op(opName, op) \
102 template<class T, class T1, class T2> \
107 T operator()(const T1& x, const T2& y) const WARNRETURN \
113 template<class T1, class T2> \
118 T1 operator()(const T1& x, const T2& y) const WARNRETURN \
129 T operator()(const T& x, const T& y) const WARNRETURN \
bool equal(const T &s1, const T &s2)
tmp< DimensionedField< scalar, GeoMesh > > stabilise(const DimensionedField< scalar, GeoMesh > &dsf, const dimensioned< scalar > &ds)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
Type maxMagSqr(const UList< Type > &f)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Scalar minMod(const Scalar s1, const Scalar s2)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static bool less(const vector &x, const vector &y)
To compare normals.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
Scalar cmptPow(const Scalar s1, const Scalar s2)
Type minMagSqr(const UList< Type > &f)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)