LagrangianPatchFieldFunctions.H File Reference
Include dependency graph for LagrangianPatchFieldFunctions.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 FIELD_TYPE   LagrangianPatchField
 
#define COMMA   ,
 
#define UNARY_FUNCTION(Template, Type, Type1, func)
 
#define BINARY_FUNCTION(func)
 
#define UNARY_OPERATOR(op, opFunc)
 
#define BINARY_OPERATOR(Template, Type, 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 (LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &sf, const LagrangianPatchField< Type > &f, const direction d)
 
template<class Type >
void magSqr (LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void mag (LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void cmptAv (LagrangianPatchField< typename LagrangianPatchField< Type >::cmptType > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void cmptMag (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type , direction r>
void pow (LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void sqr (LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
 
void pow3 (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void pow4 (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void pow5 (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void pow6 (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void pow025 (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void sqrt (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
void cbrt (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
 
template<class Type >
void T (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
 
void hdual (LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
 
void hdual (LagrangianPatchField< tensor > &f, const LagrangianPatchField< vector > &f1)
 
void diag (LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
 
void tr (LagrangianPatchField< scalar > &f, const LagrangianPatchField< tensor > &f1)
 
void dev (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void dev2 (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void det (LagrangianPatchField< scalar > &f, const LagrangianPatchField< tensor > &f1)
 
void inv (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void symm (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void twoSymm (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void skew (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
void eigenValues (LagrangianPatchField< vector > &f, const LagrangianPatchField< tensor > &f1)
 
void eigenVectors (LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
 
template<class Type >
void max (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
 
template<class Type >
void max (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const Type &s)
 
template<class Type >
void min (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
 
template<class Type >
void min (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const Type &s)
 
template<class Type >
void cmptMultiply (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
 
template<class Type >
void cmptMultiply (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const Type &s)
 
template<class Type >
void cmptDivide (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< Type > &f2)
 
template<class Type >
void cmptDivide (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const Type &s)
 
template<class Type >
void negate (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void multiply (LagrangianPatchField< Type > &f, const LagrangianPatchField< scalar > &f1, const LagrangianPatchField< Type > &f2)
 
template<class Type >
void multiply (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< scalar > &f2)
 
void multiply (LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1, const LagrangianPatchField< scalar > &f2)
 
template<class Type >
void divide (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const LagrangianPatchField< scalar > &f2)
 
template<class Type >
void multiply (LagrangianPatchField< Type > &f, const scalar &s, const LagrangianPatchField< Type > &f1)
 
template<class Type >
void multiply (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const scalar &s)
 
template<class Type >
void divide (LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1, const scalar &s)
 
template<class Type1 , class Type2 >
void add (LagrangianPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void add (LagrangianPatchField< typename typeOfSum< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void add (LagrangianPatchField< typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void subtract (LagrangianPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void subtract (LagrangianPatchField< typename typeOfSum< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void subtract (LagrangianPatchField< typename typeOfSum< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void outer (LagrangianPatchField< typename outerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void outer (LagrangianPatchField< typename outerProduct< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void outer (LagrangianPatchField< typename outerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void cross (LagrangianPatchField< typename crossProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void cross (LagrangianPatchField< typename crossProduct< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void cross (LagrangianPatchField< typename crossProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void dot (LagrangianPatchField< typename innerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void dot (LagrangianPatchField< typename innerProduct< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void dot (LagrangianPatchField< typename innerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 
template<class Type1 , class Type2 >
void dotdot (LagrangianPatchField< typename scalarProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
void dotdot (LagrangianPatchField< typename scalarProduct< Type, Form >::type > &f, const LagrangianPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
 
template<class Form , class Cmpt , direction nCmpt, class Type >
void dotdot (LagrangianPatchField< typename scalarProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const LagrangianPatchField< Type > &f1)
 

Detailed Description

Original source file LagrangianPatchFieldFunctions.H

Definition in file LagrangianPatchFieldFunctions.H.

Macro Definition Documentation

◆ FIELD_TYPE

#define FIELD_TYPE   LagrangianPatchField

Definition at line 28 of file LagrangianPatchFieldFunctions.H.

◆ COMMA

#define COMMA   ,

Definition at line 30 of file LagrangianPatchFieldFunctions.H.

◆ UNARY_FUNCTION

#define UNARY_FUNCTION (   Template,
  Type,
  Type1,
  func 
)
Value:
\
Template \
inline void func \
( \
FIELD_TYPE<Type>& f, \
const FIELD_TYPE<Type1>& f1 \
) \
{}
void func(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
labelList f(nPoints)

Definition at line 49 of file LagrangianPatchFieldFunctions.H.

◆ BINARY_FUNCTION

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

Definition at line 108 of file LagrangianPatchFieldFunctions.H.

◆ UNARY_OPERATOR

#define UNARY_OPERATOR (   op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc(FIELD_TYPE<Type>& f, const FIELD_TYPE<Type>& f1) \
{}

Definition at line 138 of file LagrangianPatchFieldFunctions.H.

◆ BINARY_OPERATOR

#define BINARY_OPERATOR (   Template,
  Type,
  Type1,
  Type2,
  op,
  opFunc 
)
Value:
\
Template \
inline void opFunc \
( \
FIELD_TYPE<Type>& f, \
const FIELD_TYPE<Type1>& f1, \
const FIELD_TYPE<Type2>& f2 \
) \
{}

Definition at line 149 of file LagrangianPatchFieldFunctions.H.

◆ BINARY_TYPE_OPERATOR_SF

#define BINARY_TYPE_OPERATOR_SF (   TYPE,
  op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
FIELD_TYPE<Type>& f, \
const TYPE& s, \
const FIELD_TYPE<Type>& f1 \
) \
{}

Definition at line 168 of file LagrangianPatchFieldFunctions.H.

◆ BINARY_TYPE_OPERATOR_FS

#define BINARY_TYPE_OPERATOR_FS (   TYPE,
  op,
  opFunc 
)
Value:
\
template<class Type> \
inline void opFunc \
( \
FIELD_TYPE<Type>& f, \
const FIELD_TYPE<Type>& f1, \
const TYPE& s \
) \
{}

Definition at line 179 of file LagrangianPatchFieldFunctions.H.

◆ PRODUCT_OPERATOR

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)
Value:
\
template<class Type1, class Type2> \
inline void opFunc \
( \
const FIELD_TYPE<Type1>& f1, \
const FIELD_TYPE<Type2>& f2 \
) \
{} \
\
template<class Type, class Form, class Cmpt, direction nCmpt> \
inline void opFunc \
( \
const FIELD_TYPE<Type>& f1, \
const VectorSpace<Form,Cmpt,nCmpt>& vs \
) \
{} \
\
template<class Form, class Cmpt, direction nCmpt, class Type> \
inline void opFunc \
( \
const VectorSpace<Form,Cmpt,nCmpt>& vs, \
const FIELD_TYPE<Type>& f1 \
) \
{}
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488

Definition at line 198 of file LagrangianPatchFieldFunctions.H.