pointPatchFieldFunctions.H File Reference
Include dependency graph for pointPatchFieldFunctions.H:
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 BINARY_FUNCTION(func)
 
#define UNARY_OPERATOR(op, opFunc)
 
#define BINARY_OPERATOR(Type1, Type2, op, opFunc)
 
#define BINARY_TYPE_OPERATOR_SF(TYPE, op, opFunc)
 
#define BINARY_TYPE_OPERATOR_FS(TYPE, op, opFunc)
 
#define PRODUCT_OPERATOR(product, op, opFunc)
 

Functions

template<class Type >
void component (pointPatchField< typename Field< Type >::cmptType > &sf, const pointPatchField< Type > &f, const direction d)
 
template<class Type >
void T (pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
 
template<class Type , direction r>
void pow (Field< typename powProduct< Type, r >::type > &f, const pointPatchField< Type > &vf)
 
template<class Type >
void sqr (Field< typename outerProduct< Type, Type >::type > &f, const pointPatchField< Type > &vf)
 
template<class Type >
void magSqr (pointPatchField< scalar > &sf, const pointPatchField< Type > &f)
 
template<class Type >
void mag (pointPatchField< scalar > &sf, const pointPatchField< Type > &f)
 
template<class Type >
void cmptAv (pointPatchField< typename Field< Type >::cmptType > &cf, const pointPatchField< Type > &f)
 
template<class Type >
void cmptMag (pointPatchField< Type > &cf, const pointPatchField< Type > &f)
 
template<class Type >
void max (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
 
template<class Type >
void max (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
 
template<class Type >
void min (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
 
template<class Type >
void min (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
 
template<class Type >
void cmptMultiply (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
 
template<class Type >
void cmptMultiply (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
 
template<class Type >
void cmptDivide (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
 
template<class Type >
void cmptDivide (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
 
template<class Type >
void negate (pointPatchField< Type > &f, const pointPatchField< Type > &f1)
 
template<class Type >
void multiply (pointPatchField< Type > &f, const pointPatchField< scalar > &f1, const pointPatchField< Type > &f2)
 
template<class Type >
void multiply (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< scalar > &f2)
 
template<class Type >
void divide (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< scalar > &f2)
 
template<class Type >
void multiply (pointPatchField< Type > &f, const scalar &s, const pointPatchField< Type > &f1)
 
template<class Type >
void multiply (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const scalar &s)
 
template<class Type >
void divide (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const scalar &s)
 
template<class Type1 , class Type2 >
void add (pointPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void add (pointPatchField< typename typeOfSum< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void add (pointPatchField< typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void subtract (pointPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void subtract (pointPatchField< typename typeOfSum< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void subtract (pointPatchField< typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void outer (pointPatchField< typename outerProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void outer (pointPatchField< typename outerProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void outer (pointPatchField< typename outerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void cross (pointPatchField< typename crossProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void cross (pointPatchField< typename crossProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void cross (pointPatchField< typename crossProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void dot (pointPatchField< typename innerProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void dot (pointPatchField< typename innerProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void dot (pointPatchField< typename innerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void dotdot (pointPatchField< typename scalarProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void dotdot (pointPatchField< typename scalarProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void dotdot (pointPatchField< typename scalarProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
 
void hdual (pointPatchField< vector > &, const pointPatchField< tensor > &)
 
void hdual (pointPatchField< tensor > &, const pointPatchField< vector > &)
 
void diag (pointPatchField< vector > &, const pointPatchField< tensor > &)
 
void tr (pointPatchField< scalar > &, const pointPatchField< tensor > &)
 
void dev (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void dev2 (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void det (pointPatchField< scalar > &, const pointPatchField< tensor > &)
 
void inv (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void symm (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void twoSymm (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void skew (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 
void eigenValues (pointPatchField< vector > &, const pointPatchField< tensor > &)
 
void eigenVectors (pointPatchField< tensor > &, const pointPatchField< tensor > &)
 

Detailed Description

Original source file pointPatchFieldFunctions.H

Definition in file pointPatchFieldFunctions.H.

Macro Definition Documentation

◆ BINARY_FUNCTION

#define BINARY_FUNCTION (   func)
Value:
\
template<class Type> \
inline void func \
( \
pointPatchField<Type>& f, \
const pointPatchField<Type>& f1, \
const pointPatchField<Type>& f2 \
) \
{} \
\
template<class Type> \
inline void func \
( \
pointPatchField<Type>& f, \
const pointPatchField<Type>& f1, \
const Type& s \
) \
{}
scalar f1
Definition: createFields.H:28
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
labelList f(nPoints)

Definition at line 104 of file pointPatchFieldFunctions.H.

◆ UNARY_OPERATOR

#define UNARY_OPERATOR (   op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
pointPatchField<Type>& f, \
const pointPatchField<Type>& f1 \
) \
{}
scalar f1
Definition: createFields.H:28
labelList f(nPoints)

Definition at line 132 of file pointPatchFieldFunctions.H.

◆ BINARY_OPERATOR

#define BINARY_OPERATOR (   Type1,
  Type2,
  op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
pointPatchField<Type>& f, \
const pointPatchField<Type1>& f1, \
const pointPatchField<Type2>& f2 \
) \
{}
scalar f1
Definition: createFields.H:28
labelList f(nPoints)

Definition at line 144 of file pointPatchFieldFunctions.H.

◆ BINARY_TYPE_OPERATOR_SF

#define BINARY_TYPE_OPERATOR_SF (   TYPE,
  op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
pointPatchField<Type>& f, \
const TYPE& s, \
const pointPatchField<Type>& f1 \
) \
{}
scalar f1
Definition: createFields.H:28
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
labelList f(nPoints)

Definition at line 159 of file pointPatchFieldFunctions.H.

◆ BINARY_TYPE_OPERATOR_FS

#define BINARY_TYPE_OPERATOR_FS (   TYPE,
  op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
pointPatchField<Type>& f, \
const pointPatchField<Type>& f1, \
const TYPE& s \
) \
{}
scalar f1
Definition: createFields.H:28
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
labelList f(nPoints)

Definition at line 171 of file pointPatchFieldFunctions.H.

◆ PRODUCT_OPERATOR

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)

Definition at line 188 of file pointPatchFieldFunctions.H.