Hi all,
What is the proper way of saving and loading a meshL in FreeFem?
To save a mesh, you use the command
savemesh(Th,“Th.msh”);
To load your mesh, you use the command
readmesh(“Th.msh”);
You will find many examples in the freefem documentation.
I am talking specifically about a meshL, so the .msh format doesn’t work. In the documentation, I couldn’t find an example for loading this type of mesh.
Say ThL is defined as meshL, I can save it via:
savemesh(ThL,"ThL.mesh");
But I have trouble reading it back. This does not work:
meshL ThL;
ThL = readmesh("ThL.mesh")
I think you should use readmeshL
Th = readmeshL(“ThL.mesh”);
That it. Thanks Julien.