Hi Rajat, I suspect that this might be related to this issue <https://github.com/dealii/dealii/issues/2661>, but we should wait for confirmation from someone with more knowledge on how the triangulation class works.
Regards, J-P On Friday, July 8, 2016 at 9:56:07 AM UTC+2, RAJAT ARORA wrote: > > > Hello all, > > 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. > > After saving the triangulation and I load it in a different function. > However, this loaded triangulation is not consistent with the one saved. > > I am attaching a code that demonstrate this strange behavior / bug. > Although, I am using parallel::distributed::triangulation, I run it with > zero elements and on one processor. > > The output in the "femesh" file is as follows: > > original cell number 1 > Vertex 0: 0 0 > Vertex 1: 1 0 > Vertex 2: 0 1 > Vertex 3: 1 1 > > before writing to file > cell number 1 > Vertex 0: 0 0 > Vertex 1: 0.75 0 > Vertex 2: 0 1 > Vertex 3: 0.75 1 > > after loading from file > cell number 1 > Vertex 0: 0 0 > Vertex 1: 1 0 > Vertex 2: 0 1 > Vertex 3: 1 1 > > > > Thanks for your help. > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
