On Fri, Feb 24, 2012 at 2:23 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</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">
<p>We need a richer field interface. Some way for a client of DM to discover vector and tensor structure. Possibly also (eventually) a way to solve equations of state so that we can formulate reduced problems in non-conservative variables.</p>
</blockquote><div>I have fields, and numbers of field components. That is not enough to do what you suggest, but I don't</div><div>think that is necessary. We do not need to know the different between a vector and pseudo-vector, etc.</div>
<div>I think we just need sizes.</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">
<div class="gmail_quote">On Feb 24, 2012 2:19 PM, "Matthew Knepley" <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Feb 24, 2012 at 1:58 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</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">
<a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/518ff70e8a0a" target="_blank">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/518ff70e8a0a</a><div><br></div><div>Matt, I want to get rid of these conditionals, not add more. We should have a DM base interface for getting fields on which to split, that common interface should _replace_ the DMComposite specialization.</div>
</blockquote></div><br>I agree. However, I won't put anything in until I do it by hand once.<div><br></div><div>Also, I was tempted to just promote DMGetGlobalISes(), but its not quite right. I am planning</div><div>
to put the IS method in PetscSection. I am hoping eventually DMDA uses PetscSection for</div><div>layout.<br><div><br></div><div> Matt<span class="HOEnZb"><font color="#888888"><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>
</font></span></div></div>
</blockquote></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<br>