3 #ifndef GENERIC_GRID_COLLECTION_OPERATORS
4 #define GENERIC_GRID_COLLECTION_OPERATORS
9 #undef COMPOSITE_GRID_OPERATORS
107 #define FUNCTION(type) \
108 virtual realGridCollectionFunction type(const realGridCollectionFunction & u, \
109 const Index & C1 = nullIndex, \
110 const Index & C2 = nullIndex, \
111 const Index & C3 = nullIndex, \
112 const Index & C4 = nullIndex, \
113 const Index & C5 = nullIndex ); \
114 virtual realGridCollectionFunction type(const realGridCollectionFunction & u, \
115 const GridFunctionParameters & gfType, \
116 const Index & C1 = nullIndex, \
117 const Index & C2 = nullIndex, \
118 const Index & C3 = nullIndex, \
119 const Index & C4 = nullIndex, \
120 const Index & C5 = nullIndex );
123 #define FUNCTION_COEFFICIENTS(type) \
124 virtual realGridCollectionFunction type(const Index & C0 = nullIndex, \
125 const Index & C1 = nullIndex, \
126 const Index & C2 = nullIndex, \
127 const Index & C3 = nullIndex ); \
129 virtual realGridCollectionFunction type(const GridFunctionParameters & gfType, \
130 const Index & C0 = nullIndex, \
131 const Index & C1 = nullIndex, \
132 const Index & C2 = nullIndex, \
133 const Index & C3 = nullIndex );
208 #undef FUNCTION_COEFFICIENTS
229 #define SCALAR_FUNCTION(type) \
230 virtual realGridCollectionFunction type(const realGridCollectionFunction & u, \
231 const realGridCollectionFunction & s, \
232 const Index & C1 = nullIndex, \
233 const Index & C2 = nullIndex, \
234 const Index & C3 = nullIndex, \
235 const Index & C4 = nullIndex ); \
236 virtual realGridCollectionFunction type(const realGridCollectionFunction & u, \
237 const GridFunctionParameters & gfType, \
238 const realGridCollectionFunction & s, \
239 const Index & C1 = nullIndex, \
240 const Index & C2 = nullIndex, \
241 const Index & C3 = nullIndex, \
242 const Index & C4 = nullIndex );
245 #define SCALAR_FUNCTION_COEFFICIENTS(type) \
246 virtual realGridCollectionFunction type(const realGridCollectionFunction & s, \
247 const Index & C0 = nullIndex, \
248 const Index & C1 = nullIndex, \
249 const Index & C2 = nullIndex, \
250 const Index & C3 = nullIndex ); \
252 virtual realGridCollectionFunction type(const GridFunctionParameters & gfType, \
253 const realGridCollectionFunction & s, \
254 const Index & C0 = nullIndex, \
255 const Index & C1 = nullIndex, \
256 const Index & C2 = nullIndex, \
257 const Index & C3 = nullIndex );
274 #undef SCALAR_FUNCTION
275 #undef SCALAR_FUNCTION_COEFFICIENTS
280 const int & direction1,
281 const int & direction2,
289 const int & direction1,
290 const int & direction2,
298 const int & direction1,
299 const int & direction2,
307 const int & direction1,
308 const int & direction2,
341 const real & time = 0.,
342 const int & grid =
forAll);
345 const real & time = 0.,
346 const int & grid =
forAll);
351 const Index & Components,
354 const real & forcing = 0.,
355 const real & time = 0.,
361 const Index & Components,
363 const int & boundaryCondition,
365 const real & time = 0.,
370 const Index & Components,
372 const int & boundaryCondition,
374 const real & time = 0.,
397 const Index & Equations,
398 const Index & Components,
406 #ifdef COMPOSITE_GRID_OPERATORS
411 #undef COMPOSITE_GRID_OPERATORS