FieldFieldFunctions.C File Reference
Include dependency graph for FieldFieldFunctions.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<template<class> class Field, class Type>
 
#define TMP_UNARY_FUNCTION(returnType, func)
 
#define G_UNARY_FUNCTION(returnType, gFunc, func, rFunc)
 
#define PRODUCT_OPERATOR(product, op, opFunc)
 

Functions

template<template< class > class Field, class Type >
void component (FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
 
template<template< class > class Field, class Type >
void T (FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
 
template<template< class > class Field, class Type , direction r>
void pow (FieldField< Field, typename powProduct< Type, r >::type > &f, const FieldField< Field, Type > &vf)
 
template<template< class > class Field, class Type , direction r>
tmp< FieldField< Field, typename powProduct< Type, r >::type > > pow (const FieldField< Field, Type > &f, typename powProduct< Type, r >::type)
 
template<template< class > class Field, class Type , direction r>
tmp< FieldField< Field, typename powProduct< Type, r >::type > > pow (const tmp< FieldField< Field, Type >> &tf, typename powProduct< Type, r >::type)
 
template<template< class > class Field, class Type >
void sqr (FieldField< Field, typename outerProduct< Type, Type >::type > &f, const FieldField< Field, Type > &vf)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename outerProduct< Type, Type >::type > > sqr (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename outerProduct< Type, Type >::type > > sqr (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void magSqr (FieldField< Field, scalar > &sf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, scalar > > magSqr (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, scalar > > magSqr (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void mag (FieldField< Field, scalar > &sf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, scalar > > mag (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, scalar > > mag (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void cmptMax (FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptMax (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptMax (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void cmptMin (FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptMin (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptMin (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void cmptAv (FieldField< Field, typename FieldField< Field, Type >::cmptType > &cf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptAv (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, typename FieldField< Field, Type >::cmptType > > cmptAv (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
void cmptMag (FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, Type > > cmptMag (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
tmp< FieldField< Field, Type > > cmptMag (const tmp< FieldField< Field, Type >> &tf)
 
template<template< class > class Field, class Type >
Type max (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type max (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type min (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type min (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type sum (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type sum (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
scalar sumMag (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
scalar sumMag (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type average (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type average (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type gMax (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type gMax (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type gMin (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type gMin (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type gSum (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type gSum (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
scalar gSumMag (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
scalar gSumMag (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field, class Type >
Type gAverage (const FieldField< Field, Type > &f)
 
template<template< class > class Field, class Type >
Type gAverage (const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void add (FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator+ (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename typeOfSum< Type1, Type2 >::type > > operator+ (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename typeOfSum< Type1, Type2 >::type > > operator+ (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator+ (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator+ (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void add (FieldField< Field, typename typeOfSum< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Type, Form >::type > > operator+ (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Type, Form >::type > > operator+ (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void add (FieldField< Field, typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Form, Type >::type > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Form, Type >::type > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void subtract (FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator- (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename typeOfSum< Type1, Type2 >::type > > operator- (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename typeOfSum< Type1, Type2 >::type > > operator- (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator- (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > > operator- (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void subtract (FieldField< Field, typename typeOfSum< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Type, Form >::type > > operator- (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Type, Form >::type > > operator- (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void subtract (FieldField< Field, typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Form, Type >::type > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename typeOfSum< Form, Type >::type > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void outer (FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename outerProduct< Type1, Type2 >::type > > operator* (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename outerProduct< Type1, Type2 >::type > > operator* (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename outerProduct< Type1, Type2 >::type > > operator* (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename outerProduct< Type1, Type2 >::type > > operator* (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename outerProduct< Type1, Type2 >::type > > operator* (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void outer (FieldField< Field, typename outerProduct< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename outerProduct< Type, Form >::type > > operator* (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename outerProduct< Type, Form >::type > > operator* (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void outer (FieldField< Field, typename outerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename outerProduct< Form, Type >::type > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename outerProduct< Form, Type >::type > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void cross (FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename crossProduct< Type1, Type2 >::type > > operator^ (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename crossProduct< Type1, Type2 >::type > > operator^ (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename crossProduct< Type1, Type2 >::type > > operator^ (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename crossProduct< Type1, Type2 >::type > > operator^ (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename crossProduct< Type1, Type2 >::type > > operator^ (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void cross (FieldField< Field, typename crossProduct< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename crossProduct< Type, Form >::type > > operator^ (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename crossProduct< Type, Form >::type > > operator^ (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void cross (FieldField< Field, typename crossProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename crossProduct< Form, Type >::type > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename crossProduct< Form, Type >::type > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void dot (FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename innerProduct< Type1, Type2 >::type > > operator& (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename innerProduct< Type1, Type2 >::type > > operator& (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename innerProduct< Type1, Type2 >::type > > operator& (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename innerProduct< Type1, Type2 >::type > > operator& (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename innerProduct< Type1, Type2 >::type > > operator& (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void dot (FieldField< Field, typename innerProduct< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename innerProduct< Type, Form >::type > > operator& (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename innerProduct< Type, Form >::type > > operator& (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void dot (FieldField< Field, typename innerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename innerProduct< Form, Type >::type > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename innerProduct< Form, Type >::type > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
void dotdot (FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > > operator&& (const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field, class Type1 , class Type2 >
tmp< FieldField< Field, typename scalarProduct< Type1, Type2 >::type > > operator&& (const FieldField< Field, Type1 > &f1, const tmp< FieldField< Field, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field, typename scalarProduct< Type1, Type2 >::type > > operator&& (const FieldField< Field1, Type1 > &f1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > > operator&& (const tmp< FieldField< Field1, Type1 >> &tf1, const FieldField< Field2, Type2 > &f2)
 
template<template< class > class Field1, template< class > class Field2, class Type1 , class Type2 >
tmp< FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > > operator&& (const tmp< FieldField< Field1, Type1 >> &tf1, const tmp< FieldField< Field2, Type2 >> &tf2)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void dotdot (FieldField< Field, typename scalarProduct< Type, Form >::type > &f, const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename scalarProduct< Type, Form >::type > > operator&& (const FieldField< Field, Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename scalarProduct< Type, Form >::type > > operator&& (const tmp< FieldField< Field, Type >> &tf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
void dotdot (FieldField< Field, typename scalarProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename scalarProduct< Form, Type >::type > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const FieldField< Field, Type > &f1)
 
template<template< class > class Field, class Type , class Form , class Cmpt , direction nCmpt>
tmp< FieldField< Field, typename scalarProduct< Form, Type >::type > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< FieldField< Field, Type >> &tf1)
 

Detailed Description

Original source file FieldFieldFunctions.C

Definition in file FieldFieldFunctions.C.

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE   template<template<class> class Field, class Type>

Definition at line 29 of file FieldFieldFunctions.C.

◆ TMP_UNARY_FUNCTION

#define TMP_UNARY_FUNCTION (   returnType,
  func 
)
Value:
\
template<template<class> class Field, class Type> \
returnType func(const tmp<FieldField<Field, Type>>& tf1) \
{ \
returnType res = func(tf1()); \
tf1.clear(); \
return res; \
}
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 397 of file FieldFieldFunctions.C.

◆ G_UNARY_FUNCTION

#define G_UNARY_FUNCTION (   returnType,
  gFunc,
  func,
  rFunc 
)
Value:
\
template<template<class> class Field, class Type> \
returnType gFunc(const FieldField<Field, Type>& f) \
{ \
returnType res = func(f); \
reduce(res, rFunc##Op<Type>()); \
return res; \
} \
TMP_UNARY_FUNCTION(returnType, gFunc)
labelList f(nPoints)

Definition at line 546 of file FieldFieldFunctions.C.

◆ PRODUCT_OPERATOR

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)

Definition at line 624 of file FieldFieldFunctions.C.