We used to have the class hierarchy
GridFunction → S_GridFunction → T_GridFunction
where SCAL is real/complex and T is something like double, Vec<3,double>, Vec<9,Complex>
This required a compile-time fixed maximal system dimension. Now we use only S_GridFunction, and the dimension is a runtime variable.
This change may need adaption of user C++ code:
If you use
it throws now a dynamic cast exception.
You have to replace it by
You can wrap it into a VFlatVector<Vec<3>> if you need a member of the BaseVector family.
Sorry for the change, but now you can do a GridFunctions of dimension 21, as some turbulence people asked for.
Joachim