<div dir="ltr"><div>Jed, I disagree; It's quite natural to want custom bindings for these things if you want some new mesh type to have local-to-global and global-to-local operations over that mesh. Having it abstracted out to the matrix or vector is constraining.<br>
<br>They should totally be in there and should be implementation-level in DMShell.<br><br></div>- Peter<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 12:42 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</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">It would be natural to have a matching interface, but why do you need it? You're in charge of making the matrices and vectors so you can give them local-to-global mappings. The only solver that calls DMGetLocalToGlobalMapping is PCEXOTIC, which only works with DMDA anyway.<br>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 12:35 PM, Richard Tran Mills <span dir="ltr"><<a href="mailto:rtm@eecs.utk.edu" target="_blank">rtm@eecs.utk.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Folks,<br>
<br>
I want to set a LocalToGlobal mapping in a DMShell object. Should we add a DMShell routine to do this, or just add a DMSetLocalToGlobalMapping() routine?<br>
<br>
Thanks,<br>
Richard<span><font color="#888888"><br>
<br>
-- <br>
Richard Tran Mills, Ph.D.<br>
Computational Earth Scientist | Joint Assistant Professor<br>
Hydrogeochemical Dynamics Team | EECS and Earth & Planetary Sciences<br>
Oak Ridge National Laboratory | University of Tennessee, Knoxville<br>
E-mail: <a href="mailto:rmills@ornl.gov" target="_blank">rmills@ornl.gov</a> V: <a href="tel:865-241-3198" value="+18652413198" target="_blank">865-241-3198</a> <a href="http://climate.ornl.gov/~rmills" target="_blank">http://climate.ornl.gov/~<u></u>rmills</a><br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>