Triangulation from lower-dimensional object

13 views
Skip to first unread message

Konrad Simon

unread,
Feb 17, 2022, 4:48:58 AM2/17/22
to deal.II User Group
Dear all,

I was recently looking for a solution to the following problem:

I have a triangulation, e.g., of a unit cube. I need to solve a lower-dimensional (FEM-like) problem on all faces with BCs on edges and for each face I need to solve a problem on all edges with BCs at vertices.

Can I somehow extract a Triangulation<dim-1> form a Triangulation<dim> by providing, for example, the boundary id on the Triangulation<dim> level?

Best,
Konrad

Wolfgang Bangerth

unread,
Feb 17, 2022, 10:20:17 AM2/17/22
to dea...@googlegroups.com
On 2/17/22 02:48, Konrad Simon wrote:
>
> Can I somehow extract a Triangulation<dim-1> form a Triangulation<dim> by
> providing, for example, the boundary id on the Triangulation<dim> level?

Yes! Take a look at GridGenerator::extract_boundary_mesh().

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages