3 #ifndef GENERIC_MAPPED_GRID_OPERATORS
4 #define GENERIC_MAPPED_GRID_OPERATORS
123 #define FUNCTION(type) \
124 virtual realMappedGridFunction type(const realMappedGridFunction & u, \
125 const Index & I1 = nullIndex, \
126 const Index & I2 = nullIndex, \
127 const Index & I3 = nullIndex, \
128 const Index & I4 = nullIndex, \
129 const Index & I5 = nullIndex, \
130 const Index & I6 = nullIndex, \
131 const Index & I7 = nullIndex, \
132 const Index & I8 = nullIndex ); \
134 virtual realMappedGridFunction type(const realMappedGridFunction & u, \
135 const GridFunctionParameters & gfType, \
136 const Index & I1 = nullIndex, \
137 const Index & I2 = nullIndex, \
138 const Index & I3 = nullIndex, \
139 const Index & I4 = nullIndex, \
140 const Index & I5 = nullIndex, \
141 const Index & I6 = nullIndex, \
142 const Index & I7 = nullIndex, \
143 const Index & I8 = nullIndex );
146 #define FUNCTION_COEFFICIENTS(type) \
147 virtual realMappedGridFunction type(const Index & I1 = nullIndex, \
148 const Index & I2 = nullIndex, \
149 const Index & I3 = nullIndex, \
150 const Index & I4 = nullIndex, \
151 const Index & I5 = nullIndex, \
152 const Index & I6 = nullIndex, \
153 const Index & I7 = nullIndex, \
154 const Index & I8 = nullIndex ); \
156 virtual realMappedGridFunction type(const GridFunctionParameters & gfType, \
157 const Index & I1 = nullIndex, \
158 const Index & I2 = nullIndex, \
159 const Index & I3 = nullIndex, \
160 const Index & I4 = nullIndex, \
161 const Index & I5 = nullIndex, \
162 const Index & I6 = nullIndex, \
163 const Index & I7 = nullIndex, \
164 const Index & I8 = nullIndex );
239 #undef FUNCTION_COEFFICIENTS
260 #define SCALAR_FUNCTION(type) \
261 virtual realMappedGridFunction type(const realMappedGridFunction & u, \
262 const realMappedGridFunction & s, \
263 const Index & I1 = nullIndex, \
264 const Index & I2 = nullIndex, \
265 const Index & I3 = nullIndex, \
266 const Index & I4 = nullIndex, \
267 const Index & I5 = nullIndex, \
268 const Index & I6 = nullIndex, \
269 const Index & I7 = nullIndex, \
270 const Index & I8 = nullIndex ); \
272 virtual realMappedGridFunction type(const realMappedGridFunction & u, \
273 const GridFunctionParameters & gfType, \
274 const realMappedGridFunction & s, \
275 const Index & I1 = nullIndex, \
276 const Index & I2 = nullIndex, \
277 const Index & I3 = nullIndex, \
278 const Index & I4 = nullIndex, \
279 const Index & I5 = nullIndex, \
280 const Index & I6 = nullIndex, \
281 const Index & I7 = nullIndex, \
282 const Index & I8 = nullIndex );
284 #define SCALAR_FUNCTION_COEFFICIENTS(type) \
285 virtual realMappedGridFunction type(const realMappedGridFunction & s, \
286 const Index & I1 = nullIndex, \
287 const Index & I2 = nullIndex, \
288 const Index & I3 = nullIndex, \
289 const Index & I4 = nullIndex, \
290 const Index & I5 = nullIndex, \
291 const Index & I6 = nullIndex, \
292 const Index & I7 = nullIndex, \
293 const Index & I8 = nullIndex ); \
295 virtual realMappedGridFunction type(const GridFunctionParameters & gfType, \
296 const realMappedGridFunction & s, \
297 const Index & I1 = nullIndex, \
298 const Index & I2 = nullIndex, \
299 const Index & I3 = nullIndex, \
300 const Index & I4 = nullIndex, \
301 const Index & I5 = nullIndex, \
302 const Index & I6 = nullIndex, \
303 const Index & I7 = nullIndex, \
304 const Index & I8 = nullIndex );
320 #undef SCALAR_FUNCTION
321 #undef SCALAR_FUNCTION_COEFFICIENTS
325 const int & direction1,
326 const int & direction2,
339 const int & direction1,
340 const int & direction2,
351 const int & direction1,
352 const int & direction2,
364 const int & direction1,
365 const int & direction2,
478 const Index & Components,
482 const real & forcing = 0.,
483 const real & time = 0.,
486 const int & grid=0 );
490 const Index & Components,
492 const int & boundaryCondition,
494 const real & time = 0.,
497 const int & grid=0 );
501 const Index & Components,
503 const int & boundaryCondition,
506 const real & time = 0.,
509 const int & grid=0 );
513 const Index & Components,
515 const int & boundaryCondition,
517 const real & time = 0.,
520 const int & grid=0 );
556 const Index & Equations,
557 const Index & Components,
562 const int & grid=0 );
604 const int option = 0);