On 5/29/19 4:40 AM, Gabriel Peters wrote: > > I am working with a parallel::distributed::triangulation. > In my program I load a coarse grid from a file. > > Is there a function to manually initialize trees in my triangulation, > according to some regions of my domain (just as p4est does) or > is this automatically done by calling p::d::tria, in some way? If this is the > case, how many trees are initialized then?
The GridGenerator and GridIn functions can take a p::d::Triangulation as argument and will then automatically fill all of the necessary p4est data structures. They will in general create one p4est tree per coarse mesh cell, though that is a detail of no particular importance from the user's perspective. 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/43505b06-9410-016b-028e-d09f0be3b136%40colostate.edu. For more options, visit https://groups.google.com/d/optout.
