<div dir="ltr"><div>On Sat, Feb 16, 2013 at 9:40 AM, Hui Zhang <span dir="ltr"><<a href="mailto:mike.hui.zhang@hotmail.com" target="_blank">mike.hui.zhang@hotmail.com</a>></span> wrote:<br></div><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">I have an AO that defines a global ordering.  I want to write a Vec into a binary file in the global ordering defined by AO.  How to do it?  Thanks in advance!</blockquote>
</div><br>I think the easiest way is to map the IS rowStart...rowEnd using PetscToApplication, and then</div><div class="gmail_extra">create a VecScatter with those two ISes.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
   Matt<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>