FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

FieldFunctions.H File Reference


Detailed Description

Definition in file FieldFunctions.H.

#include "src/OpenFOAM/fields/Fields/scalarField/scalarField.H"
#include "src/OpenFOAM/fields/Fields/Field/FieldFunctionsM.H"
#include "src/OpenFOAM/fields/Fields/Field/undefFieldFunctionsM.H"
Include dependency graph for FieldFunctions.H:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Defines

#define  TEMPLATE   template<class Type>
#define  TMP_UNARY_FUNCTION(ReturnType, Func)
#define  G_UNARY_FUNCTION(ReturnType, gFunc, Func, rFunc)
#define  PRODUCT_OPERATOR(product, Op, OpFunc)

Functions

template<class Type >
void  component (Field< typename Field< Type >::cmptType > &res, const UList< Type > &f, const direction d)
template<class Type >
void  T (Field< Type > &res, const UList< Type > &f)
template<class Type , int r>
void  pow (Field< typename powProduct< Type, r >::type > &res, const UList< Type > &vf)
template<class Type , int r>
tmp< Field< typename
powProduct< Type, r >::type > >  
pow (const UList< Type > &f, typename powProduct< Type, r >::type)
template<class Type , int r>
tmp< Field< typename
powProduct< Type, r >::type > >  
pow (const tmp< Field< Type > > &tf, typename powProduct< Type, r >::type)
template<class Type >
void  sqr (Field< typename outerProduct< Type, Type >::type > &res, const UList< Type > &vf)
template<class Type >
tmp< Field< typename
outerProduct< Type, Type >
::type > >  
sqr (const UList< Type > &f)
template<class Type >
tmp< Field< typename
outerProduct< Type, Type >
::type > >  
sqr (const tmp< Field< Type > > &tf)
template<class Type >
void  magSqr (Field< scalar > &res, const UList< Type > &f)
template<class Type >
tmp< Field< scalar > >  magSqr (const UList< Type > &f)
template<class Type >
tmp< Field< scalar > >  magSqr (const tmp< Field< Type > > &tf)
template<class Type >
void  mag (Field< scalar > &res, const UList< Type > &f)
template<class Type >
tmp< Field< scalar > >  mag (const UList< Type > &f)
template<class Type >
tmp< Field< scalar > >  mag (const tmp< Field< Type > > &tf)
template<class Type >
void  cmptMax (Field< typename Field< Type >::cmptType > &res, const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptMax (const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptMax (const tmp< Field< Type > > &tf)
template<class Type >
void  cmptMin (Field< typename Field< Type >::cmptType > &res, const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptMin (const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptMin (const tmp< Field< Type > > &tf)
template<class Type >
void  cmptAv (Field< typename Field< Type >::cmptType > &res, const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptAv (const UList< Type > &f)
template<class Type >
tmp< Field< typename Field
< Type >::cmptType > >  
cmptAv (const tmp< Field< Type > > &tf)
template<class Type >
void  cmptMag (Field< Type > &res, const UList< Type > &f)
template<class Type >
tmp< Field< Type > >  cmptMag (const UList< Type > &f)
template<class Type >
tmp< Field< Type > >  cmptMag (const tmp< Field< Type > > &tf)
template<class Type >
Type  max (const UList< Type > &f)
template<class Type >
Type  min (const UList< Type > &f)
template<class Type >
Type  sum (const UList< Type > &f)
template<class Type >
scalar  sumProd (const UList< Type > &f1, const UList< Type > &f2)
template<class Type >
Type  sumCmptProd (const UList< Type > &f1, const UList< Type > &f2)
template<class Type >
scalar  sumSqr (const UList< Type > &f)
template<class Type >
scalar  sumMag (const UList< Type > &f)
template<class Type >
Type  sumCmptMag (const UList< Type > &f)
template<class Type >
Type  average (const UList< Type > &f)
template<class Type >
scalar  gSumProd (const UList< Type > &f1, const UList< Type > &f2)
template<class Type >
Type  gSumCmptProd (const UList< Type > &f1, const UList< Type > &f2)
template<class Type >
Type  gAverage (const UList< Type > &f)

Define Documentation

#define TEMPLATE   template<class Type>

Definition at line 28 of file FieldFunctions.H.

#define TMP_UNARY_FUNCTION (   ReturnType,
  Func  
)
Value:
\
template<class Type>                                                          \
ReturnType Func(const tmp<Field<Type> >& tf1);

Definition at line 155 of file FieldFunctions.H.

#define G_UNARY_FUNCTION (   ReturnType,
  gFunc,
  Func,
  rFunc  
)
Value:
\
template<class Type>                                                          \
ReturnType gFunc(const UList<Type>& f);                                       \
TMP_UNARY_FUNCTION(ReturnType, gFunc)

Definition at line 203 of file FieldFunctions.H.

#define PRODUCT_OPERATOR (   product,
  Op,
  OpFunc  
)

Definition at line 259 of file FieldFunctions.H.