<div dir="ltr">On Mon, Apr 29, 2013 at 4:02 AM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br></div> If i extract the support and cone using DMPlexGetTransitiveclousre, I am getting correct answers. Please have a look at the attached code.</div>
</blockquote><div><br></div><div style>Yes, the interface definition for DMPlexRestoreCone/Support() was missing from petscdmplex.h90, so Fortran</div><div style>was just stomping through random memory without giving a warning. I pushed the fix to 'next', and there is now</div>
<div style>a test of it in DMPlex ex1f90.</div><div style><br></div><div style> Thanks,</div><div style><br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Sun, Apr 28, 2013 at 9:30 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> Looks like the problem is with getCone and getSupport called from F90 code. <br><br></div>Thanks<span><font color="#888888"><br>Reddy<br></font></span></div>
<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Apr 28, 2013 at 7:36 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><div><div>Hello,<br></div> I am seeing an issue using DMPlexGetSupport.<br><br></div>I am trying to get the Ids of cells sharing a given facet in mesh. <br><br></div>I have attached a test code for a small 3 x 3 square mesh. When i print the support for the 12 facets it has, i see 4 internal facets and 8 boundary faces, as expected. But the cell Ids are wrong. <br>
<br></div><div> Surcessfully created DM From Cell List<br>Mesh in 2 dimensions:<br> 0-cells: 9<br> 1-cells: 12<br> 2-cells: 4<br>Labels:<br> depth: 3 strata of sizes (9, 12, 4)<br> printing support for facet<br> edge id start= 13 edge id end= 24<br>
f: 13 c: 0<br> f: 14 c: 0 1<br> f: 15 c: 0 2<br> f: 16 c: 0<br> f: 17 c: 0<br> f: 18 c: 0<br>
f: 19 c: 0 0<br> f: 20 c: 0 0<br> f: 21 c: 0<br> f: 22 c: 0<br> f: 23 c: 0<br> f: 24 c: 0<span><font color="#888888"><br>
</font></span></div><span><font color="#888888"><div><div><div><div><div><div><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: <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></div></div></div></div></div></font></span></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: <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>
</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: <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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>