GeometricFieldFunctions.C File Reference
Include dependency graph for GeometricFieldFunctions.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, template<class> class PatchField, class GeoMesh>
 
#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(returnType, func, gFunc)
 
#define UNARY_REDUCTION_FUNCTION(returnType, func, gFunc)
 
#define PRODUCT_OPERATOR(product, op, opFunc)
 

Functions

template<class Type , template< class > class PatchField, class GeoMesh >
void component (GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh > &gcf, const GeometricField< Type, PatchField, GeoMesh > &gf, const direction d)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void T (GeometricField< Type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Type , template< class > class PatchField, class GeoMesh , direction r>
void pow (GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Type , template< class > class PatchField, class GeoMesh , direction r>
tmp< GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > > pow (const GeometricField< Type, PatchField, GeoMesh > &gf, typename powProduct< Type, r >::type)
 
template<class Type , template< class > class PatchField, class GeoMesh , direction r>
tmp< GeometricField< typename powProduct< Type, r >::type, PatchField, GeoMesh > > pow (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, typename powProduct< Type, r >::type)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void sqr (GeometricField< typename outerProduct< Type, Type >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type, Type >::type, PatchField, GeoMesh >> sqr (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type, Type >::type, PatchField, GeoMesh >> sqr (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void magSqr (GeometricField< scalar, PatchField, GeoMesh > &gsf, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< scalar, PatchField, GeoMesh > > magSqr (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< scalar, PatchField, GeoMesh > > magSqr (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void mag (GeometricField< scalar, PatchField, GeoMesh > &gsf, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< scalar, PatchField, GeoMesh > > mag (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< scalar, PatchField, GeoMesh > > mag (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void cmptAv (GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh > &gcf, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh >> cmptAv (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename GeometricField< Type, PatchField, GeoMesh >::cmptType, PatchField, GeoMesh >> cmptAv (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 UNARY_FUNCTION (Type, Type, cmptMag, cmptMag)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > max (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > max (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > min (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > min (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > sum (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > sum (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< scalar > sumMag (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< scalar > sumMag (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > average (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
dimensioned< Type > average (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void add (GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator+ (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator+ (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator+ (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator+ (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void add (GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > > operator+ (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > > operator+ (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void add (GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void subtract (GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator- (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator- (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator- (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type1, Type2 >::type, PatchField, GeoMesh > > operator- (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void subtract (GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > > operator- (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Type, Form >::type, PatchField, GeoMesh > > operator- (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void subtract (GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename typeOfSum< Form, Type >::type, PatchField, GeoMesh > > operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void outer (GeometricField< typename outerProduct< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator* (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator* (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator* (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator* (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void outer (GeometricField< typename outerProduct< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type, Form >::type, PatchField, GeoMesh > > operator* (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Type, Form >::type, PatchField, GeoMesh > > operator* (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void outer (GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename outerProduct< Form, Type >::type, PatchField, GeoMesh > > operator* (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void cross (GeometricField< typename crossProduct< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator^ (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator^ (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator^ (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator^ (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void cross (GeometricField< typename crossProduct< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type, Form >::type, PatchField, GeoMesh > > operator^ (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Type, Form >::type, PatchField, GeoMesh > > operator^ (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void cross (GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename crossProduct< Form, Type >::type, PatchField, GeoMesh > > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void dot (GeometricField< typename innerProduct< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator& (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator& (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator& (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator& (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void dot (GeometricField< typename innerProduct< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type, Form >::type, PatchField, GeoMesh > > operator& (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Type, Form >::type, PatchField, GeoMesh > > operator& (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void dot (GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename innerProduct< Form, Type >::type, PatchField, GeoMesh > > operator& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
void dotdot (GeometricField< typename scalarProduct< Type1, Type2 >::type, PatchField, GeoMesh > &gf, const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator&& (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator&& (const GeometricField< Type1, PatchField, GeoMesh > &gf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator&& (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const GeometricField< Type2, PatchField, GeoMesh > &gf2)
 
template<class Type1 , class Type2 , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type1, Type2 >::type, PatchField, GeoMesh > > operator&& (const tmp< GeometricField< Type1, PatchField, GeoMesh >> &tgf1, const tmp< GeometricField< Type2, PatchField, GeoMesh >> &tgf2)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void dotdot (GeometricField< typename scalarProduct< Type, Form >::type, PatchField, GeoMesh > &gf, const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type, Form >::type, PatchField, GeoMesh > > operator&& (const GeometricField< Type, PatchField, GeoMesh > &gf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const GeometricField< Type, PatchField, GeoMesh > &gf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Type, Form >::type, PatchField, GeoMesh > > operator&& (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const dimensioned< Form > &dvs)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
void dotdot (GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > &gf, const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const dimensioned< Form > &dvs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const GeometricField< Type, PatchField, GeoMesh > &gf1)
 
template<class Form , class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const dimensioned< Form > &dvs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 
template<class Form , class Cmpt , direction nCmpt, class Type , template< class > class PatchField, class GeoMesh >
tmp< GeometricField< typename scalarProduct< Form, Type >::type, PatchField, GeoMesh > > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &vs, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf1)
 

Detailed Description

Original source file GeometricFieldFunctions.C

Definition in file GeometricFieldFunctions.C.

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE    template<class Type, template<class> class PatchField, class GeoMesh>

Definition at line 28 of file GeometricFieldFunctions.C.

◆ UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY

#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY (   returnType,
  func,
  gFunc 
)
Value:
\
template<class Type, template<class> class PatchField, class GeoMesh> \
dimensioned<returnType> func \
( \
const GeometricField<Type, PatchField, GeoMesh>& gf \
) \
{ \
return dimensioned<Type> \
( \
#func "(" + gf.name() + ')', \
gf.dimensions(), \
Foam::func(gFunc(gf.primitiveField()), gFunc(gf.boundaryField())) \
); \
} \
\
template<class Type, template<class> class PatchField, class GeoMesh> \
dimensioned<returnType> func \
( \
const tmp<GeometricField<Type, PatchField, GeoMesh>>& tgf1 \
) \
{ \
dimensioned<returnType> res = func(tgf1()); \
tgf1.clear(); \
return res; \
}
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)

Definition at line 428 of file GeometricFieldFunctions.C.

◆ UNARY_REDUCTION_FUNCTION

#define UNARY_REDUCTION_FUNCTION (   returnType,
  func,
  gFunc 
)
Value:
\
template<class Type, template<class> class PatchField, class GeoMesh> \
dimensioned<returnType> func \
( \
const GeometricField<Type, PatchField, GeoMesh>& gf \
) \
{ \
return dimensioned<Type> \
( \
#func "(" + gf.name() + ')', \
gf.dimensions(), \
gFunc(gf.primitiveField()) \
); \
} \
\
template<class Type, template<class> class PatchField, class GeoMesh> \
dimensioned<returnType> func \
( \
const tmp<GeometricField<Type, PatchField, GeoMesh>>& tgf1 \
) \
{ \
dimensioned<returnType> res = func(tgf1()); \
tgf1.clear(); \
return res; \
}

Definition at line 461 of file GeometricFieldFunctions.C.

◆ PRODUCT_OPERATOR

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)

Definition at line 522 of file GeometricFieldFunctions.C.