Namespaces | Macros | Functions
DimensionedFieldFunctions.C File Reference
Include dependency graph for DimensionedFieldFunctions.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define TEMPLATE   template<class Type, class GeoMesh>
 
#define UNARY_REDUCTION_FUNCTION(returnType, func, dfunc)
 
#define PRODUCT_OPERATOR(product, op, opFunc)
 

Functions

template<class Type , class GeoMesh , int r>
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh > > pow (const DimensionedField< Type, GeoMesh > &df, typename powProduct< Type, r >::type)
 
template<class Type , class GeoMesh , int r>
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh > > pow (const tmp< DimensionedField< Type, GeoMesh > > &tdf, typename powProduct< Type, r >::type)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh > > sqr (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh > > sqr (const tmp< DimensionedField< Type, GeoMesh > > &tdf)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< scalar, GeoMesh > > magSqr (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< scalar, GeoMesh > > magSqr (const tmp< DimensionedField< Type, GeoMesh > > &tdf)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< scalar, GeoMesh > > mag (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< scalar, GeoMesh > > mag (const tmp< DimensionedField< Type, GeoMesh > > &tdf)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv (const tmp< DimensionedField< Type, GeoMesh > > &tdf)
 
template<class Type , class GeoMesh >
dimensioned< Type > max (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
dimensioned< Type > max (const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type , class GeoMesh >
dimensioned< Type > min (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
dimensioned< Type > min (const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type , class GeoMesh >
dimensioned< Type > sum (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
dimensioned< Type > sum (const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type , class GeoMesh >
dimensioned< scalar > sumMag (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
dimensioned< scalar > sumMag (const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type , class GeoMesh >
dimensioned< Type > average (const DimensionedField< Type, GeoMesh > &df)
 
template<class Type , class GeoMesh >
dimensioned< Type > average (const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator+ (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator+ (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator+ (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator+ (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type, Form >::type, GeoMesh > > operator+ (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type, Form >::type, GeoMesh > > operator+ (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator- (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator- (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator- (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh > > operator- (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type, Form >::type, GeoMesh > > operator- (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Type, Form >::type, GeoMesh > > operator- (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename typeOfSum< Form, Type >::type, GeoMesh > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type1, Type2 >::type, GeoMesh > > operator* (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type1, Type2 >::type, GeoMesh > > operator* (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type1, Type2 >::type, GeoMesh > > operator* (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type1, Type2 >::type, GeoMesh > > operator* (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type, Form >::type, GeoMesh > > operator* (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Type, Form >::type, GeoMesh > > operator* (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename outerProduct< Form, Type >::type, GeoMesh > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type1, Type2 >::type, GeoMesh > > operator^ (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type1, Type2 >::type, GeoMesh > > operator^ (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type1, Type2 >::type, GeoMesh > > operator^ (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type1, Type2 >::type, GeoMesh > > operator^ (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type, Form >::type, GeoMesh > > operator^ (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Type, Form >::type, GeoMesh > > operator^ (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename crossProduct< Form, Type >::type, GeoMesh > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type1, Type2 >::type, GeoMesh > > operator& (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type1, Type2 >::type, GeoMesh > > operator& (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type1, Type2 >::type, GeoMesh > > operator& (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type1, Type2 >::type, GeoMesh > > operator& (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type, Form >::type, GeoMesh > > operator& (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Type, Form >::type, GeoMesh > > operator& (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename innerProduct< Form, Type >::type, GeoMesh > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type1, Type2 >::type, GeoMesh > > operator&& (const DimensionedField< Type1, GeoMesh > &df1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type1, Type2 >::type, GeoMesh > > operator&& (const DimensionedField< Type1, GeoMesh > &df1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type1, Type2 >::type, GeoMesh > > operator&& (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const DimensionedField< Type2, GeoMesh > &df2)
 
template<class Type1 , class Type2 , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type1, Type2 >::type, GeoMesh > > operator&& (const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type, Form >::type, GeoMesh > > operator&& (const DimensionedField< Type, GeoMesh > &df1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const DimensionedField< Type, GeoMesh > &df1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Type, Form >::type, GeoMesh > > operator&& (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const tmp< DimensionedField< Type, GeoMesh > > &tdf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const dimensioned< Form > &dvs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const DimensionedField< Type, GeoMesh > &df1)
 
template<class Form , class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const dimensioned< Form > &dvs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 
template<class Form , class Cmpt , int nCmpt, class Type , class GeoMesh >
tmp< DimensionedField< typename scalarProduct< Form, Type >::type, GeoMesh > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< DimensionedField< Type, GeoMesh > > &tdf1)
 

Detailed Description

Original source file DimensionedFieldFunctions.C

Definition in file DimensionedFieldFunctions.C.

Macro Definition Documentation

#define TEMPLATE   template<class Type, class GeoMesh>

Definition at line 28 of file DimensionedFieldFunctions.C.

#define UNARY_REDUCTION_FUNCTION (   returnType,
  func,
  dfunc 
)
Value:
\
template<class Type, class GeoMesh> \
dimensioned<returnType> func \
( \
const DimensionedField<Type, GeoMesh>& df \
) \
{ \
return dimensioned<Type> \
( \
#func "(" + df.name() + ')', \
df.dimensions(), \
dfunc(df.field()) \
); \
} \
\
template<class Type, class GeoMesh> \
dimensioned<returnType> func \
( \
const tmp<DimensionedField<Type, GeoMesh> >& tdf1 \
) \
{ \
dimensioned<returnType> res = func(tdf1()); \
tdf1.clear(); \
return res; \
}
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 304 of file DimensionedFieldFunctions.C.

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)

Definition at line 367 of file DimensionedFieldFunctions.C.