Saving and loading files

Hello,

You can try

/*
fespace Vh(Th, P1);
Vh Psiext;
*/
ofstream fileSol ("file.txt");
for (int i = 0; i<Vh.ndof; i++){
	fileSol <<psiext[][i]<<endl;
}

And do the same thing with ifstream to load your solution
Alexandre