Hey Timo, Thanks for your prompt reply.
Here is the documentation <https://www.dealii.org/8.4.1/doxygen/deal.II/classTriangulation.html> where in the serializing section it says that serializing stores vertices and its location. I am confused if it does store vertex locations now. Also, I checked an old post <https://groups.google.com/forum/#!searchin/dealii/serialize/dealii/3Lskf2g8PJU/a0ZVVlu3kREJ> by prof. Wolfgang, that talks about creating mesh on these lines. In my case, I am moving my mesh after every iteration just like the one in step18. Therefore, for a checkpoint/restart in my case, even the mesh needs to have updated coordinates and not the one at instant zero. If this is not what save() does, then how can I create the mesh that has its vertices moved. One way could be to store the total displacement as a solution vector, and then deserialize() it and add to the mesh coordinates. Is there any other way ? On Friday, July 8, 2016 at 8:41:39 AM UTC-4, Timo Heister wrote: > > > I am observing some strange behavior with > > Parallel::distributed::triangulation<dim>::save(const * char) function. > > > > I make a triangulation and then move its vertices and then save it to > a > > file. > > Yes, save () only saves the refinement information from the base mesh > and nothing else (not the coarse mesh, no boundary/material changes, > no vertex coordinates). Maybe we should have called it > save_refinement_information() or something. > > -- > Timo Heister > http://www.math.clemson.edu/~heister/ > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.