32 #ifndef makeFunction1s_H
33 #define makeFunction1s_H
54 #define makeFunction1s(Type, nullArg) \
57 const char* const Foam::Tuple2<Foam::scalar, Type>::typeName \
59 "Tuple2<scalar," #Type ">" \
62 defineFunction1(Type); \
64 namespace Function1s \
66 addFunction1(None, Type); \
67 addStreamConstructableFunction1(Constant, Type); \
68 addStreamConstructableFunction1(Uniform, Type); \
69 addFunction1(ZeroConstant, Type); \
70 addFunction1(OneConstant, Type); \
71 addStreamConstructableFunction1(Polynomial, Type); \
72 addFunction1(Add, Type); \
73 addFunction1(Repeat, Type); \
74 addFunction1(Scale, Type); \
75 addFunction1(Shift, Type); \
76 addFunction1(Sine, Type); \
77 addFunction1(Square, Type); \
78 addStreamConstructableFunction1(Table, Type); \
79 addNamedFunction1(Table, Type, tableFile); \
80 addFunction1(UniformTable, Type); \
81 addFunction1(NonUniformTable, Type); \
82 addFunction1(Coded, Type); \