Versioning issue for savesol/readsol use?

Hi all,
I am new in this forum, so please excuse this question if naive. I am running FreeFem++ v4.7 in MacOs, and trying to use the savesol/readsol commands. In the documentation it seems to come with v4.6 but it is not recognized by my version.

I am doing something wrong ? Should I use a specific plugin ?

Many thanks for any help.

I’m not sure what version of FreeFEM I’m running but I believe you need to load medit to read and save solutions. So something like:

load "medit"

mesh Th = square(10);
// ... solve for u ...
savesol("mySol.sol", Th, u, order = 1);

fespace Vh(Th, P1); 
Vh uread;
uread[] = readsol("mySol.sol");

Yes, medit was the plugin I needed ! Many thanks ! Sincerely, Franck

1 Like