Hi,
you can use the Prolongation here as well, see the attached example.
But, you have to do some data copying.
As an alternative, you define
Code:
gfu = GridFunction(fes, nested=True)
then the prolongation is done within GridFunction.Update()
The prolongation must be provided by the FESpace, not all have it implemented.
E.g. some high order spaces use just the prolongation of the low order space..
Best, Joachim