p4est tree initilization

8 views
Skip to first unread message

Gabriel Peters

unread,
May 29, 2019, 6:40:18 AM5/29/19
to deal.II User Group
Hey everyone,

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?

Thaks a lot
and best regards

Gabriel


Wolfgang Bangerth

unread,
May 29, 2019, 10:18:55 PM5/29/19
to dea...@googlegroups.com
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: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages