![]() |
|
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
High performance macro functions for Field<Type> algebra. These expand using either array element access (for vector machines) or pointer dereferencing for scalar machines as appropriate.
Definition in file FieldFunctionsM.H.
Go to the source code of this file.
Defines | |
#define | UNARY_FUNCTION(ReturnType, Type1, Func) |
#define | UNARY_FUNCTION_N(ReturnType, Type1, Func) |
#define | UNARY_FUNCTION_R(ReturnType, Type1, Func) |
#define | UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc) |
#define | UNARY_OPERATOR_N(ReturnType, Type1, Op, OpFunc) |
#define | UNARY_OPERATOR_R(ReturnType, Type1, Op, OpFunc) |
#define | BINARY_FUNCTION_FF(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_FT(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_FR(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_TF(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_TT(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_TR(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_RF(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_RT(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_NN(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_NR(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_RN(ReturnType, Type1, Type2, Func) |
#define | BINARY_FUNCTION_RR(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_ST(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_SR(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_TS(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_RS(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_NN(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_NR(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_RN(ReturnType, Type1, Type2, Func) |
#define | BINARY_TYPE_FUNCTION_RR(ReturnType, Type1, Type2, Func) |
#define | BINARY_OPERATOR_FF(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_FT(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_FR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_TF(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_TT(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_TR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_RF(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_RT(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_NN(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_NR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_RN(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_OPERATOR_RR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_ST(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_SR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_TS(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_RS(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_NN(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_NR(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_RN(ReturnType, Type1, Type2, Op, OpFunc) |
#define | BINARY_TYPE_OPERATOR_RR(ReturnType, Type1, Type2, Op, OpFunc) |
|
Value: \ void Func \ ( \ Field<ReturnType>& f, \ const UList<Type1>& f1, \ const UList<Type2>& f2 \ ); \ \ tmp<Field<ReturnType> > Func \ ( \ const UList<Type1>& f1, \ const UList<Type2>& f2 \ ); Definition at line 78 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const UList<Type1>& f1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 100 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const UList<Type1>& f1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 93 of file FieldFunctionsM.H. |
|
Value: BINARY_FUNCTION_FF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_FT(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_TF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_TT(ReturnType, Type1, Type2, Func) Definition at line 145 of file FieldFunctionsM.H. |
|
Value: BINARY_FUNCTION_FF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_FR(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_TF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_TR(ReturnType, Type1, Type2, Func) Definition at line 151 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const UList<Type2>& f2 \ ); Definition at line 130 of file FieldFunctionsM.H. |
|
Value: BINARY_FUNCTION_FF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_FT(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_RF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_RT(ReturnType, Type1, Type2, Func) Definition at line 157 of file FieldFunctionsM.H. |
|
Value: BINARY_FUNCTION_FF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_FR(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_RF(ReturnType, Type1, Type2, Func) \ BINARY_FUNCTION_RT(ReturnType, Type1, Type2, Func) Definition at line 163 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 137 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const UList<Type2>& f2 \ ); Definition at line 108 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 122 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 115 of file FieldFunctionsM.H. |
|
Value: \ void OpFunc \ ( \ Field<ReturnType>& f, \ const UList<Type1>& f1, \ const UList<Type2>& f2 \ ); \ \ tmp<Field<ReturnType> > operator Op \ ( \ const UList<Type1>& f1, \ const UList<Type2>& f2 \ ); Definition at line 259 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const UList<Type1>& f1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 281 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const UList<Type1>& f1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 274 of file FieldFunctionsM.H. |
|
Value: BINARY_OPERATOR_FF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_FT(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_TF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_TT(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 326 of file FieldFunctionsM.H. |
|
Value: BINARY_OPERATOR_FF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_FR(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_TF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_TR(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 332 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const UList<Type2>& f2 \ ); Definition at line 311 of file FieldFunctionsM.H. |
|
Value: BINARY_OPERATOR_FF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_FT(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_RF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_RT(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 338 of file FieldFunctionsM.H. |
|
Value: BINARY_OPERATOR_FF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_FR(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_RF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_OPERATOR_RT(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 344 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 318 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const UList<Type2>& f2 \ ); Definition at line 289 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 303 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 296 of file FieldFunctionsM.H. |
|
Value: \ void Func \ ( \ Field<ReturnType>& f, \ const UList<Type1>& f1, \ const Type2& s2 \ ); \ \ tmp<Field<ReturnType> > Func \ ( \ const UList<Type1>& f1, \ const Type2& s2 \ ); Definition at line 202 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_ST(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_TS(ReturnType, Type1, Type2, Func) Definition at line 232 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_SR(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_TS(ReturnType, Type1, Type2, Func) Definition at line 238 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_ST(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_RS(ReturnType, Type1, Type2, Func) Definition at line 244 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_SR(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_RS(ReturnType, Type1, Type2, Func) Definition at line 250 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const Type2& s2 \ ); Definition at line 224 of file FieldFunctionsM.H. |
|
Value: \ void Func \ ( \ Field<ReturnType>& f, \ const Type1& s1, \ const UList<Type2>& f2 \ ); \ \ tmp<Field<ReturnType> > Func \ ( \ const Type1& s1, \ const UList<Type2>& f2 \ ); Definition at line 172 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const Type1& s1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 194 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const Type1& s1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 187 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > Func \ ( \ const tmp<Field<Type1> >& tf1, \ const Type2& s2 \ ); Definition at line 217 of file FieldFunctionsM.H. |
|
Value: \ void OpFunc \ ( \ Field<ReturnType>& f, \ const UList<Type1>& f1, \ const Type2& s2 \ ); \ \ tmp<Field<ReturnType> > operator Op \ ( \ const UList<Type1>& f1, \ const Type2& s2 \ ); Definition at line 383 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_ST(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_TS(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 413 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_SR(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_TS(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 419 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_ST(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_RS(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 425 of file FieldFunctionsM.H. |
|
Value: BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_SR(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_RS(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 431 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const Type2& s2 \ ); Definition at line 405 of file FieldFunctionsM.H. |
|
Value: \ void OpFunc \ ( \ Field<ReturnType>& f, \ const Type1& s1, \ const UList<Type2>& f2 \ ); \ \ tmp<Field<ReturnType> > operator Op \ ( \ const Type1& s1, \ const UList<Type2>& f2 \ ); Definition at line 353 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const Type1& s1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 375 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const Type1& s1, \ const tmp<Field<Type2> >& tf2 \ ); Definition at line 368 of file FieldFunctionsM.H. |
|
Value: tmp<Field<ReturnType> > operator Op \ ( \ const tmp<Field<Type1> >& tf1, \ const Type2& s2 \ ); Definition at line 398 of file FieldFunctionsM.H. |
|
Value: \ void Func(Field<ReturnType>& f, const UList<Type1>& f1); \ tmp<Field<ReturnType> > Func(const UList<Type1>& f1); Definition at line 42 of file FieldFunctionsM.H. |
|
Value: \ UNARY_FUNCTION(ReturnType, Type1, Func) \ tmp<Field<ReturnType> > Func(const tmp<Field<Type1> >& tf1); Definition at line 47 of file FieldFunctionsM.H. |
|
Value: \ UNARY_FUNCTION(ReturnType, Type1, Func) \ tmp<Field<ReturnType> > Func(const tmp<Field<Type1> >& tf1); Definition at line 52 of file FieldFunctionsM.H. |
|
Value: \ void OpFunc(Field<ReturnType>& f, const UList<Type1>& f1); \ tmp<Field<ReturnType> > operator Op(const UList<Type1>& f1); Definition at line 60 of file FieldFunctionsM.H. |
|
Value: \ UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc) \ tmp<Field<ReturnType> > operator Op(const tmp<Field<Type1> >& tf1); Definition at line 65 of file FieldFunctionsM.H. |
|
Value: \ UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc) \ tmp<Field<ReturnType> > operator Op(const tmp<Field<Type1> >& tf1); Definition at line 70 of file FieldFunctionsM.H. |