We used to have the class hierarchy
GridFunction -> S_GridFunction<SCAL> -> T_GridFunction<T>
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
VVector<Vec<3>> & vecwd = dynamic_cast<VVector<Vec<3>> &> (gf_wd->GetVector());
it throws now a dynamic cast exception.
You have to replace it by
FlatVector<Vec<3>> vecwd = gf_wd->GetVector().FV<Vec<3>>();
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