<div dir="ltr">On Sun, Mar 3, 2013 at 10:23 PM, Garnet Vaz <span dir="ltr"><<a href="mailto:garnet.vaz@gmail.com" target="_blank">garnet.vaz@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">Hi,<br>
<br>
I am trying to use the function DMPlexConstructGhostCells to create<br>
some ghost cell information. Like in ex11 of dev-tutorials I need to<br>
access the centroid of the boundary cell to compute the distance.<br>
Following the example I see the following being done:<br>
<br>
Line 2209: DMPlexConstructGhostCells(dm, NULL, &user->numGhostCells, &gdm);<br>
<br>
The documentation says that the label name could be auto generated.<br>
Hence I tried passing NULL as above. This does not seem to work. I am<br></blockquote><div><br></div><div style>I have fixed the documentation.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

working on a 2d triangulation created from Triangle and distributed<br>
using chaco with an overlap of 1.<br></blockquote><div><br></div><div style>What do you mean by not work? Is your mesh modified? You can check</div><div style>using DMView(gdm, PETSC_VIEWER_STDOUT_WORLD).</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">
Thanks.<br>
<br>
--<br>
Regards,<br>
Garnet<br>
</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>