I see there is a “-cd” option which FreeFem++ command takes.
I think it means that FreeFem first cd into that directory and then runs. But I couldn’t figure out how to use it.
E.g. I have these files in /home/ar/code:
where main.edp includes mesh.idp
Now I want to run from say /home/ar/dir/. I tried:
FreeFem++ -cd …/main.edp
But didn’t work. Also tried other variants, no success.
What is the correct way to use -cd?