[petsc-users] How to refine the Vertex Sets in DMPlex

Matthew Knepley knepley at gmail.com
Tue Jun 7 08:51:38 CDT 2016


On Tue, Jun 7, 2016 at 10:09 AM, Rongliang Chen <rl.chen at siat.ac.cn> wrote:

> Dear All,
>
> I am using the DMRefine_Plex to refine a mesh. In the coarse mesh, it has
> a label "Vertex Sets" to mark the boundary nodes. I found that the
> DMRefine_Plex did not refine this label.
>
> For example, in the coarse mesh, there are 100 nodes on the boundary, that
> is the number of nodes in the label is 100. In the refined mesh (uniformly
> refined), the number of nodes in the label should be larger than 100, but I
> found that this number is still 100, which means the newly added nodes on
> the boundary were not added to the label.
>
> But I need a refined label to set the boundary conditions. Anyone can tell
> me how to get a refined Vertex Sets label?
>

All operations are topological in Plex, not geometric. When we refine, we
split edges (for instance) and the new vertex inserted
inherits the labels from the edge that was split. I am guessing that you
only labels the vertices.

  Thanks,

    Matt


> Best regards,
> Rongliang
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160607/c451b7aa/attachment.html>


More information about the petsc-users mailing list