OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

GeometricFieldFunctions.C File Reference

Go to the source code of this file.


Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Defines

#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 , int 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 , int 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 , int 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)
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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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 , int 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.


Define Documentation

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

Definition at line 20 of file GeometricFieldFunctions.C.

#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.internalField()), 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;                                                               \
}

Definition at line 470 of file GeometricFieldFunctions.C.

#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.internalField())                                             \
    );                                                                        \
}                                                                             \
                                                                              \
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 503 of file GeometricFieldFunctions.C.

#define PRODUCT_OPERATOR ( product,
op,
opFunc   ) 

Definition at line 566 of file GeometricFieldFunctions.C.

Copyright © 2000-2009 OpenCFD Ltd