I need to save a solution and then read ir in another freefem file. I’m not sure how to do this. I am able to save the mesh and load it, but I can’t do dat with the solution.
Just to clarify:
problem Psiext(psiext,v)=
int2d(Sh)(-dx(psiext)*dx(v)-dy(psiext)*dy(v)-v*dx(psiext)/x)
-int2d(Sh)(-x*Jtor*v)
+on(izq,psiext=0)+on(circ,psiext=0); // condicion de Dirichlet de Soloviev
Psiext;
Hello! First of all, thank you for your anwser. I understand that ifstream and ofstream are the solution to my problem, but I have no idea which is the information I have to write down in the file. I am not sure if the solution is an 2D array of how the information is storaged.