OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

pointPatchFieldFunctions.H File Reference


Detailed Description

View pointPatchFieldFunctions.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file pointPatchFieldFunctions.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Defines

#define BINARY_FUNCTION(func)
#define UNARY_OPERATOR(op, opFunc)
#define BINARY_OPERATOR_FF(Type1, Type2, op, opFunc)
#define BINARY_OPERATOR_R(Type1, Type2, op, opFunc)   BINARY_OPERATOR_FF(Type1, Type2, op, opFunc)
#define BINARY_TYPE_OPERATOR_TF(TYPE, op, opFunc)
#define BINARY_TYPE_OPERATOR_FT(TYPE, op, opFunc)
#define BINARY_TYPE_OPERATOR(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, int 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 scale (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
template<class Type>
void scale (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 add (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
template<class Type>
void subtract (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< Type > &f2)
template<class Type>
void multiply (pointPatchField< Type > &f, const pointPatchField< scalar > &f1, const pointPatchField< Type > &f2)
template<class Type>
void divide (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< scalar > &f2)
template<class Type>
void add (pointPatchField< Type > &f, const Type &s, const pointPatchField< Type > &f1)
template<class Type>
void add (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
template<class Type>
void subtract (pointPatchField< Type > &f, const Type &s, const pointPatchField< Type > &f1)
template<class Type>
void subtract (pointPatchField< Type > &f, const pointPatchField< Type > &f1, const Type &s)
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<template< class > class PatchField, class pointPatch, class Type1, class Type2>
void outer (pointPatchField< typename outerProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
template<template< class > class PatchField, class pointPatch, class Type, class Form, class Cmpt, int nCmpt>
void outer (pointPatchField< typename outerProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<template< class > class PatchField, class pointPatch, class Form, class Cmpt, int nCmpt, class Type>
void outer (pointPatchField< typename outerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
template<template< class > class PatchField, class pointPatch, class Type1, class Type2>
void cross (pointPatchField< typename crossProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
template<template< class > class PatchField, class pointPatch, class Type, class Form, class Cmpt, int nCmpt>
void cross (pointPatchField< typename crossProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<template< class > class PatchField, class pointPatch, class Form, class Cmpt, int nCmpt, class Type>
void cross (pointPatchField< typename crossProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
template<template< class > class PatchField, class pointPatch, class Type1, class Type2>
void dot (pointPatchField< typename innerProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
template<template< class > class PatchField, class pointPatch, class Type, class Form, class Cmpt, int nCmpt>
void dot (pointPatchField< typename innerProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<template< class > class PatchField, class pointPatch, class Form, class Cmpt, int nCmpt, class Type>
void dot (pointPatchField< typename innerProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
template<template< class > class PatchField, class pointPatch, class Type1, class Type2>
void dotdot (pointPatchField< typename scalarProduct< Type1, Type2 >::type > &f, const pointPatchField< Type1 > &f1, const pointPatchField< Type2 > &f2)
template<template< class > class PatchField, class pointPatch, class Type, class Form, class Cmpt, int nCmpt>
void dotdot (pointPatchField< typename scalarProduct< Type, Form >::type > &f, const pointPatchField< Type > &f1, const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<template< class > class PatchField, class pointPatch, class Form, class Cmpt, int nCmpt, class Type>
void dotdot (pointPatchField< typename scalarProduct< Form, Type >::type > &f, const VectorSpace< Form, Cmpt, nCmpt > &vs, const pointPatchField< Type > &f1)
template<template< class > class PatchField, class pointPatch>
void hdual (pointPatchField< vector > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void hdual (pointPatchField< tensor > &, const pointPatchField< vector > &)
template<template< class > class PatchField, class pointPatch>
void diag (pointPatchField< vector > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void tr (pointPatchField< scalar > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void dev (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void dev2 (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void det (pointPatchField< scalar > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void inv (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void symm (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void twoSymm (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void skew (pointPatchField< tensor > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void eigenValues (pointPatchField< vector > &, const pointPatchField< tensor > &)
template<template< class > class PatchField, class pointPatch>
void eigenVectors (pointPatchField< tensor > &, const pointPatchField< tensor > &)

Define Documentation

#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                                                             \
)                                                                             \
{}

Definition at line 110 of file pointPatchFieldFunctions.H.

#define UNARY_OPERATOR ( op,
opFunc   ) 

Value:

\
template<class Type>                                                          \
inline void opFunc                                                            \
(                                                                             \
    pointPatchField<Type>& f,                                                 \
    const pointPatchField<Type>& f1                                           \
)                                                                             \
{}

Definition at line 139 of file pointPatchFieldFunctions.H.

#define BINARY_OPERATOR_FF ( Type1,
Type2,
op,
opFunc   ) 

Value:

\
template<class Type>                                                          \
inline void opFunc                                                            \
(                                                                             \
    pointPatchField<Type>& f,                                                 \
    const pointPatchField<Type1>& f1,                                         \
    const pointPatchField<Type2>& f2                                          \
)                                                                             \
{}

Definition at line 154 of file pointPatchFieldFunctions.H.

#define BINARY_OPERATOR_R ( Type1,
Type2,
op,
opFunc   )     BINARY_OPERATOR_FF(Type1, Type2, op, opFunc)

Definition at line 165 of file pointPatchFieldFunctions.H.

#define BINARY_TYPE_OPERATOR_TF ( TYPE,
op,
opFunc   ) 

Value:

\
template<class Type>                                                          \
inline void opFunc                                                            \
(                                                                             \
    pointPatchField<Type>& f,                                                 \
    const TYPE& s,                                                            \
    const pointPatchField<Type>& f1                                           \
)                                                                             \
{}

Definition at line 183 of file pointPatchFieldFunctions.H.

#define BINARY_TYPE_OPERATOR_FT ( TYPE,
op,
opFunc   ) 

Value:

\
template<class Type>                                                          \
inline void opFunc                                                            \
(                                                                             \
    pointPatchField<Type>& f,                                                 \
    const pointPatchField<Type>& f1,                                          \
    const TYPE& s                                                             \
)                                                                             \
{}

Definition at line 195 of file pointPatchFieldFunctions.H.

#define BINARY_TYPE_OPERATOR ( TYPE,
op,
opFunc   ) 

Value:

BINARY_TYPE_OPERATOR_TF(TYPE, op, opFunc)                                 \
    BINARY_TYPE_OPERATOR_FT(TYPE, op, opFunc)

Definition at line 207 of file pointPatchFieldFunctions.H.

#define PRODUCT_OPERATOR ( product,
op,
opFunc   ) 

Definition at line 222 of file pointPatchFieldFunctions.H.

Copyright © 2000-2007 OpenCFD Ltd