I would like to use “transfer” function in PETSc-complex interface.
In FreeFEM v 4.8, the following code worked well:
macro dimension()2// EOM
fespace Ph1(Sh1, P2);
fespace Ph2(Sh2, P2);
transfer(Sh1, P2, u, Sh2, P2, v);
This code was borrowed from the previous topic:
However, I could not run the above example with FreeFEM v 4.9.
Would you have any solutions to this issue?
Thank you so much in advance,
You need this commit Fixes renumv + adds PetscScalar in .edp · FreeFem/FreeFem-sources@723520e · GitHub which is in 4.9, so please consider updating your FreeFEM installation.
Also, your FE function needs to live in
Thank you for your advice.
I could transfer the solution in FreeFEM v 4.9 by changing FE spaces from Phk to Phk (k=1,2).