[petsc-users] How to refine the Vertex Sets in DMPlex
Rongliang Chen
rl.chen at siat.ac.cn
Tue Jun 7 09:05:46 CDT 2016
Hi Matt,
Thanks for your reply.
Yes, I only labels the vertex because I am doing the finite element
method where I only need the vertex label. Do you mean that I need to
label the faces and get the vertex label from the face label?
Thanks,
Rongliang
On 06/07/2016 09:51 PM, Matthew Knepley wrote:
> On Tue, Jun 7, 2016 at 10:09 AM, Rongliang Chen <rl.chen at siat.ac.cn
> <mailto: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/9b8b608a/attachment-0001.html>
More information about the petsc-users
mailing list