|
|
|
FieldFunctionsM.C File ReferenceGo to the source code of this file.
Detailed DescriptionOriginal source file FieldFunctionsM.CDefinition in file FieldFunctionsM.C. Define Documentation
Value: \ TEMPLATE \ void Func(Field<ReturnType>& res, const UList<Type>& f) \ { \ TFOR_ALL_F_OP_FUNC_F(ReturnType, res, =, ::Foam::Func, Type, f) \ } \ \ TEMPLATE \ tmp<Field<ReturnType> > Func(const UList<Type>& f) \ { \ tmp<Field<ReturnType> > tRes(new Field<ReturnType>(f.size())); \ Func(tRes(), f); \ return tRes; \ } \ \ TEMPLATE \ tmp<Field<ReturnType> > Func(const tmp<Field<Type> >& tf) \ { \ tmp<Field<ReturnType> > tRes = reuseTmp<ReturnType, Type>::New(tf); \ Func(tRes(), tf()); \ reuseTmp<ReturnType, Type>::clear(tf); \ return tRes; \ } Definition at line 23 of file FieldFunctionsM.C.
Value: \ TEMPLATE \ void OpFunc(Field<ReturnType>& res, const UList<Type>& f) \ { \ TFOR_ALL_F_OP_OP_F(ReturnType, res, =, Op, Type, f) \ } \ \ TEMPLATE \ tmp<Field<ReturnType> > operator Op(const UList<Type>& f) \ { \ tmp<Field<ReturnType> > tRes(new Field<ReturnType>(f.size())); \ OpFunc(tRes(), f); \ return tRes; \ } \ \ TEMPLATE \ tmp<Field<ReturnType> > operator Op(const tmp<Field<Type> >& tf) \ { \ tmp<Field<ReturnType> > tRes = reuseTmp<ReturnType, Type>::New(tf); \ OpFunc(tRes(), tf()); \ reuseTmp<ReturnType, Type>::clear(tf); \ return tRes; \ } Definition at line 51 of file FieldFunctionsM.C.
Definition at line 79 of file FieldFunctionsM.C.
Definition at line 150 of file FieldFunctionsM.C.
Definition at line 192 of file FieldFunctionsM.C.
Value: BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \ BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func) Definition at line 234 of file FieldFunctionsM.C.
Definition at line 241 of file FieldFunctionsM.C.
Definition at line 309 of file FieldFunctionsM.C.
Definition at line 348 of file FieldFunctionsM.C.
Value: BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \ BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc) Definition at line 387 of file FieldFunctionsM.C.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||