On Wed, Sep 26, 2012 at 5:24 PM, Chris Eldred <span dir="ltr"><<a href="mailto:chris.eldred@gmail.com" target="_blank">chris.eldred@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On the subject:<br>
<br>
How do coordinates work for user-defined DMComplex objects? What<br>
determines the Coordinate section (and which points does it contain?)?<br>
How is the coordinate vector set?</blockquote><div><br></div><div>I am just rewriting this. Now it will be</div><div><br></div><div>  DMGetCoordinateDM(DM, DM *)</div><div>  DMGetCoordinates(DM, Vec *)</div><div>  DMGetCoordinatesLocal(DM, Vec *)</div>
<div><br></div><div>and there is a convenience</div><div><br></div><div>  DMComplexGetCoordinateSection(DM, PetscSection *)</div><div><br></div><div>By default, I read in the vertex coordinates from the mesh generator. However,</div>
<div>the idea is that you can interpret the coordinates however you want. We just</div><div>give you a DM and a vector. You can construct the section however you want,</div><div>although without vertex coordinates some default things will not work, like VTK</div>
<div>output.</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
--<br>
Chris Eldred<br>
DOE Computational Science Graduate Fellow<br>
Graduate Student, Atmospheric Science, Colorado State University<br>
B.S. Applied Computational Physics, Carnegie Mellon University, 2009<br>
<a href="mailto:chris.eldred@gmail.com">chris.eldred@gmail.com</a><br>
</font></span></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<br>