Hi Wolfgang,

This is a massive time-saver thanks so much!

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.

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! Although I didn’t do much other than moving
vertices around and setting refinement/coarsening flags - so there is no
dofhandler or finite element involved yet.

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?

Best regards,
Yuan
​
On Tuesday, November 21, 2023 at 11:08:17 PM UTC Wolfgang Bangerth wrote:

> On 11/21/23 12:59, Yuan Wang wrote:
> > So let me restate what is desired: I basically want to record the 
> refinement
> > (and coarsening) history of a Triangulation and reconstruct the mesh.
>
> The PersistentTriangulation is your class :-)
>
> 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/2fb8f535-c216-4184-8074-dfcc3b400252n%40googlegroups.com.

Reply via email to