4 #ifndef GENERIC_COMPOSITE_GRID_OPERATORS
5 #define GENERIC_COMPOSITE_GRID_OPERATORS
10 #undef COMPOSITE_GRID_OPERATORS
12 #define COMPOSITE_GRID_OPERATORS
108 #define FUNCTION(type) \
109 virtual realCompositeGridFunction type(const realCompositeGridFunction & u, \
110 const Index & C1 = nullIndex, \
111 const Index & C2 = nullIndex, \
112 const Index & C3 = nullIndex, \
113 const Index & C4 = nullIndex, \
114 const Index & C5 = nullIndex ); \
115 virtual realCompositeGridFunction type(const realCompositeGridFunction & u, \
116 const GridFunctionParameters & gfType, \
117 const Index & C1 = nullIndex, \
118 const Index & C2 = nullIndex, \
119 const Index & C3 = nullIndex, \
120 const Index & C4 = nullIndex, \
121 const Index & C5 = nullIndex );
124 #define FUNCTION_COEFFICIENTS(type) \
125 virtual realCompositeGridFunction type(const Index & C0 = nullIndex, \
126 const Index & C1 = nullIndex, \
127 const Index & C2 = nullIndex, \
128 const Index & C3 = nullIndex ); \
130 virtual realCompositeGridFunction type(const GridFunctionParameters & gfType, \
131 const Index & C0 = nullIndex, \
132 const Index & C1 = nullIndex, \
133 const Index & C2 = nullIndex, \
134 const Index & C3 = nullIndex );
209 #undef FUNCTION_COEFFICIENTS
230 #define SCALAR_FUNCTION(type) \
231 virtual realCompositeGridFunction type(const realCompositeGridFunction & u, \
232 const realCompositeGridFunction & s, \
233 const Index & C1 = nullIndex, \
234 const Index & C2 = nullIndex, \
235 const Index & C3 = nullIndex, \
236 const Index & C4 = nullIndex ); \
237 virtual realCompositeGridFunction type(const realCompositeGridFunction & u, \
238 const GridFunctionParameters & gfType, \
239 const realCompositeGridFunction & s, \
240 const Index & C1 = nullIndex, \
241 const Index & C2 = nullIndex, \
242 const Index & C3 = nullIndex, \
243 const Index & C4 = nullIndex );
246 #define SCALAR_FUNCTION_COEFFICIENTS(type) \
247 virtual realCompositeGridFunction type(const realCompositeGridFunction & s, \
248 const Index & C0 = nullIndex, \
249 const Index & C1 = nullIndex, \
250 const Index & C2 = nullIndex, \
251 const Index & C3 = nullIndex ); \
253 virtual realCompositeGridFunction type(const GridFunctionParameters & gfType, \
254 const realCompositeGridFunction & s, \
255 const Index & C0 = nullIndex, \
256 const Index & C1 = nullIndex, \
257 const Index & C2 = nullIndex, \
258 const Index & C3 = nullIndex );
275 #undef SCALAR_FUNCTION
276 #undef SCALAR_FUNCTION_COEFFICIENTS
281 const int & direction1,
282 const int & direction2,
290 const int & direction1,
291 const int & direction2,
299 const int & direction1,
300 const int & direction2,
308 const int & direction1,
309 const int & direction2,
342 const real & time = 0.,
343 const int & grid =
forAll);
346 const real & time = 0.,
347 const int & grid =
forAll);
352 const Index & Components,
355 const real & forcing = 0.,
356 const real & time = 0.,
362 const Index & Components,
364 const int & boundaryCondition,
366 const real & time = 0.,
371 const Index & Components,
373 const int & boundaryCondition,
375 const real & time = 0.,
398 const Index & Equations,
399 const Index & Components,
407 #ifdef COMPOSITE_GRID_OPERATORS
412 #undef COMPOSITE_GRID_OPERATORS