32 #ifndef makeFunction1s_H
33 #define makeFunction1s_H
51 #define makeFunction1s(Type, nullArg) \
54 const char* const Foam::Tuple2<Foam::scalar, Type>::typeName \
56 "Tuple2<scalar," #Type ">" \
59 defineFunction1(Type); \
61 namespace Function1s \
63 addFunction1(None, Type); \
64 addStreamConstructableFunction1(Constant, Type); \
65 addStreamConstructableFunction1(Uniform, Type); \
66 addFunction1(ZeroConstant, Type); \
67 addFunction1(OneConstant, Type); \
68 addStreamConstructableFunction1(Polynomial, Type); \
69 addFunction1(Scale, Type); \
70 addFunction1(Sine, Type); \
71 addFunction1(Square, Type); \
72 addStreamConstructableFunction1(Table, Type); \
73 addNamedFunction1(Table, Type, tableFile); \
74 addFunction1(UniformTable, Type); \
75 addFunction1(NonUniformTable, Type); \
76 addFunction1(Coded, Type); \