[petsc-users] DMPlex. Apply Dirichlet boundary condition

Josh L ysjosh.lo at gmail.com
Tue Oct 16 23:27:56 CDT 2018


Hi,

My problem has an irregular domain and for the nodes I have to apply
boundary condition, I only know their node number in nature ordering.
How do I apply BC(zero out the corresponding entries in global Vec and Mat)
after DMPlexDistribute when it is all in global ordering?

If using DMLabel, how do I add those nodes to the label If I only have
their number in nature ordering?


Thanks,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181016/5b7885c0/attachment.html>


More information about the petsc-users mailing list