Although I’m wondering how well, if at all, PersistentTriangulation would
work in the distributed parallel setting. The documentation and the inheritance
diagram of Triangulation are not looking very encouraging.

Yes, you are correct.


So I made a small example with the coarse_grid being a
parallel::distributed::Triangulation<dim>. And then the main work of the code
is done to PersistentTriangulation<dim> triangulation(coarse_grid). Things
worked out pretty fine actually!

Right. But the triangulation you restore this way is not parallel.


I think I’ll go ahead and apply this to my main project code and pray for the
best but I was wondering perhaps you would have a word on this matter?
If all you want is to store and re-create a triangulation, what you are looking for is the concept of "serialization/deserialization". There is no tutorial program (yet) that shows how this is supposed to work, but you can search through the archives of the mailing list to find discussions about how to do that in a number of posts.

You should also look at a draft tutorial program here:
  https://github.com/dealii/dealii/pull/12429

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d18accfc-b4b6-2b9c-4e5b-7965d34a97c7%40colostate.edu.

Reply via email to