Definition in file FieldFieldFunctions.C.
#include "src/OpenFOAM/db/IOstreams/Pstreams/PstreamReduceOps.H"
#include "src/OpenFOAM/fields/FieldFields/FieldField/FieldFieldReuseFunctions.H"
#include "src/OpenFOAM/fields/FieldFields/FieldField/FieldFieldFunctionsM.C"
#include "src/OpenFOAM/fields/Fields/Field/undefFieldFunctionsM.H"
Go to the source code of this file.
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Defines | |
#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 , int r> | |
void | pow (FieldField< Field, typename powProduct< Type, r >::type > &f, const FieldField< Field, Type > &vf) |
template<template< class > class Field, class Type , int 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 , int 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) |
#define TEMPLATE template<template<class> class Field, class Type> |
Definition at line 29 of file FieldFieldFunctions.C.
#define TMP_UNARY_FUNCTION | ( | returnType, | |
func | |||
) |
\ template<template<class> class Field, class Type> \ returnType func(const tmp<FieldField<Field, Type> >& tf1) \ { \ returnType res = func(tf1()); \ tf1.clear(); \ return res; \ }
Definition at line 400 of file FieldFieldFunctions.C.
#define G_UNARY_FUNCTION | ( | returnType, | |
gFunc, | |||
func, | |||
rFunc | |||
) |
\ 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)
Definition at line 551 of file FieldFieldFunctions.C.
#define PRODUCT_OPERATOR | ( | product, | |
op, | |||
opFunc | |||
) |
Definition at line 631 of file FieldFieldFunctions.C.