<div class="gmail_quote">On Tue, Nov 22, 2011 at 00:10, Hailong Xiao <span dir="ltr"><<a href="mailto:xiaohl1986@gmail.com">xiaohl1986@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><span style="background-color:rgb(255,255,255)"><pre><font size="3">How can I zero the vec got from DMGetGlobalVector?</font></pre>
</span><span style="font-family:monospace;white-space:pre-wrap;background-color:rgb(255,255,255);font-size:medium">for example after I called </span><span style="background-color:rgb(255,255,255)"></span><span style="font-family:Simsun;white-space:pre-wrap;background-color:rgb(255,255,255);font-size:medium">DMGetGlobalVector(dm, &g);</span></div>
</blockquote><div> </div></div><a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecZeroEntries.html">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecZeroEntries.html</a>