Loading...
Searching...
No Matches
FieldFunctionsM.H File Reference

Macro functions for Field<Type> algebra. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UNARY_FUNCTION(ReturnType, Type1, Func)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc)
#define BINARY_FUNCTION_TRANSFORM(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_INTERFACE(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_TRANSFORM_SF(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_INTERFACE_SF(ReturnType, Type1, Type2, Func)
#define BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_TRANSFORM_FS(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_INTERFACE_FS(ReturnType, Type1, Type2, Func)
#define BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func)
#define BINARY_TYPE_FUNCTION(ReturnType, Type1, Type2, Func)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpFunc)
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc)
#define BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpFunc)
#define TERNARY_FUNCTION(ReturnType, Type1, Type2, Type3, Func)
#define TERNARY_TYPE_FUNCTION_FFS(ReturnType, Type1, Type2, Type3, Func)

Detailed Description

Macro functions for Field<Type> algebra.

Original source file FieldFunctionsM.H

Definition in file FieldFunctionsM.H.

Macro Definition Documentation

◆ UNARY_FUNCTION

#define UNARY_FUNCTION ( ReturnType,
Type1,
Func )
Value:
\
TEMPLATE \
void Func(Field<ReturnType>& result, const UList<Type1>& f1); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func(const UList<Type1>& f1); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func(const tmp<Field<Type1>>& tf1);

Definition at line 28 of file FieldFunctionsM.H.

◆ UNARY_OPERATOR

#define UNARY_OPERATOR ( ReturnType,
Type1,
Op,
OpFunc )
Value:
\
TEMPLATE \
void OpFunc(Field<ReturnType>& res, const UList<Type1>& f1); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op(const UList<Type1>& f1); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op(const tmp<Field<Type1>>& tf1);
#define Op(opName, op)
Definition ops.H:99

Definition at line 42 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_TRANSFORM

#define BINARY_FUNCTION_TRANSFORM ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
void Func \
( \
Field<ReturnType>& result, \
const UList<Type1>& f1, \
const UList<Type2>& f2 \
);

Definition at line 56 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_INTERFACE

#define BINARY_FUNCTION_INTERFACE ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const UList<Type1>& f1, \
const UList<Type2>& f2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const UList<Type1>& f1, \
const tmp<Field<Type2>>& tf2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const tmp<Field<Type1>>& tf1, \
const UList<Type2>& f2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const tmp<Field<Type1>>& tf1, \
const tmp<Field<Type2>>& tf2 \
);

Definition at line 66 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION

#define BINARY_FUNCTION ( ReturnType,
Type1,
Type2,
Func )
Value:
BINARY_FUNCTION_TRANSFORM(ReturnType, Type1, Type2, Func) \
BINARY_FUNCTION_INTERFACE(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_TRANSFORM(ReturnType, Type1, Type2, Func)

Definition at line 96 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_TRANSFORM_SF

#define BINARY_FUNCTION_TRANSFORM_SF ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
void Func \
( \
Field<ReturnType>& result, \
const Type1& s1, \
const UList<Type2>& f2 \
);

Definition at line 102 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_INTERFACE_SF

#define BINARY_FUNCTION_INTERFACE_SF ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const Type1& s1, \
const UList<Type2>& f2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const Type1& s1, \
const tmp<Field<Type2>>& tf2 \
);

Definition at line 112 of file FieldFunctionsM.H.

◆ BINARY_TYPE_FUNCTION_SF

#define BINARY_TYPE_FUNCTION_SF ( ReturnType,
Type1,
Type2,
Func )
Value:
BINARY_FUNCTION_TRANSFORM_SF(ReturnType, Type1, Type2, Func) \
BINARY_FUNCTION_INTERFACE_SF(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_TRANSFORM_SF(ReturnType, Type1, Type2, Func)

Definition at line 128 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_TRANSFORM_FS

#define BINARY_FUNCTION_TRANSFORM_FS ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
void Func \
( \
Field<ReturnType>& result, \
const UList<Type1>& f1, \
const Type2& s2 \
);

Definition at line 133 of file FieldFunctionsM.H.

◆ BINARY_FUNCTION_INTERFACE_FS

#define BINARY_FUNCTION_INTERFACE_FS ( ReturnType,
Type1,
Type2,
Func )
Value:
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const UList<Type1>& f1, \
const Type2& s2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> Func \
( \
const tmp<Field<Type1>>& tf1, \
const Type2& s2 \
);

Definition at line 143 of file FieldFunctionsM.H.

◆ BINARY_TYPE_FUNCTION_FS

#define BINARY_TYPE_FUNCTION_FS ( ReturnType,
Type1,
Type2,
Func )
Value:
BINARY_FUNCTION_TRANSFORM_FS(ReturnType, Type1, Type2, Func) \
BINARY_FUNCTION_INTERFACE_FS(ReturnType, Type1, Type2, Func)
#define BINARY_FUNCTION_TRANSFORM_FS(ReturnType, Type1, Type2, Func)

Definition at line 159 of file FieldFunctionsM.H.

◆ BINARY_TYPE_FUNCTION

#define BINARY_TYPE_FUNCTION ( ReturnType,
Type1,
Type2,
Func )
Value:
BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func) \
BINARY_TYPE_FUNCTION_FS(ReturnType, Type1, Type2, Func)
#define BINARY_TYPE_FUNCTION_SF(ReturnType, Type1, Type2, Func)

Definition at line 164 of file FieldFunctionsM.H.

◆ BINARY_OPERATOR

#define BINARY_OPERATOR ( ReturnType,
Type1,
Type2,
Op,
OpFunc )

Definition at line 171 of file FieldFunctionsM.H.

◆ BINARY_TYPE_OPERATOR_SF

#define BINARY_TYPE_OPERATOR_SF ( ReturnType,
Type1,
Type2,
Op,
OpFunc )
Value:
\
TEMPLATE \
void OpFunc \
( \
Field<ReturnType>& result, \
const Type1& s1, \
const UList<Type2>& f2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op \
( \
const Type1& s1, \
const UList<Type2>& f2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op \
( \
const Type1& s1, \
const tmp<Field<Type2>>& tf2 \
);

Definition at line 212 of file FieldFunctionsM.H.

◆ BINARY_TYPE_OPERATOR_FS

#define BINARY_TYPE_OPERATOR_FS ( ReturnType,
Type1,
Type2,
Op,
OpFunc )
Value:
\
TEMPLATE \
void OpFunc \
( \
Field<ReturnType>& result, \
const UList<Type1>& f1, \
const Type2& s2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op \
( \
const UList<Type1>& f1, \
const Type2& s2 \
); \
\
TEMPLATE \
tmp<Field<ReturnType>> operator Op \
( \
const tmp<Field<Type1>>& tf1, \
const Type2& s2 \
);

Definition at line 237 of file FieldFunctionsM.H.

◆ BINARY_TYPE_OPERATOR

#define BINARY_TYPE_OPERATOR ( ReturnType,
Type1,
Type2,
Op,
OpFunc )
Value:
BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpFunc) \
BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpFunc)
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)

Definition at line 262 of file FieldFunctionsM.H.

◆ TERNARY_FUNCTION

#define TERNARY_FUNCTION ( ReturnType,
Type1,
Type2,
Type3,
Func )

Definition at line 269 of file FieldFunctionsM.H.

◆ TERNARY_TYPE_FUNCTION_FFS

#define TERNARY_TYPE_FUNCTION_FFS ( ReturnType,
Type1,
Type2,
Type3,
Func )

Definition at line 355 of file FieldFunctionsM.H.