<div dir="ltr">I did find the coarsen, but skip the interpolation. I passed the DMCoarsen at first glance because it is the function between two DM objects and I did not see any mat or vec as input or output in that function.<div>
<br></div><div>Anyway, DMCreateInterpolation is the right one to use. Thanks.</div><div><br></div><div>Xiangdong</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 2:24 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Xiangdong <<a href="mailto:epscodes@gmail.com">epscodes@gmail.com</a>> writes:<br>
<br>
> Yes, I am using DMDA. I looked at the DM index page with keywords<br>
</div>> *coarsen*,<br>
<br>
You searched the DM page for "coarsen" and did not find DMCoarsen?<br>
<br>
> but did not realize that *interpolation* is the key word to search. Thanks<br>
> pointing out.<br>
><br>
> <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/index.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/index.html</a><br>
</blockquote></div><br></div>