<div dir="ltr">Should i be using :<br><pre>DMPlexGetTransitiveClosure ?</pre><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 6:03 PM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br></div>         I need to mark the nodes on the boundary of a mesh to impose Dirichlet BC.  I am doing the following:<br>
<br></div><div>     call DMPlexGetHeightStratum(subdm,1,facetIdStart,facetIdend,ierr)<br>
     do facetId=facetIdStart,facetIdEnd<br>       ! check if a facet is internal, i.e., numSharedCell=2 because a facet is<br>       ! shared by two cells<br>       call DMPlexGetSupportSize(subdm,facetId,numSharedCell,ierr)<br>

       if(numSharedCell==1) then ! facet is a boundary face<br>         ! mark the nodes of this face as boundary<br>         <br>       end if<br>     end do<br></div><div><div><div><br></div><div>How do i get the 0-cells (ie nodes) forming given dim-cell ?<br>

<br></div><div>Am i using the right approach ?<br></div><div>Also, is there DMPlex functionality to mark boundary nodes ?<br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br>Reddy<br></font></span></div>
<span class="HOEnZb"><font color="#888888"><div>-- <br>-----------------------------------------------------<br>
Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>10100 Burnet Road, Bldg. 160<br>MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a><br>

Phone: <a href="tel:%2B1-512-350-9082" value="+15123509082" target="_blank">+1-512-350-9082</a><br>United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>

</div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------------------------------------------<br>Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>
10100 Burnet Road, Bldg. 160<br>MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a><br>Phone: +1-512-350-9082<br>United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>

</div>