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.
Anyway, DMCreateInterpolation is the right one to use. Thanks. Xiangdong On Wed, Mar 5, 2014 at 2:24 PM, Jed Brown <[email protected]> wrote: > Xiangdong <[email protected]> writes: > > > Yes, I am using DMDA. I looked at the DM index page with keywords > > *coarsen*, > > You searched the DM page for "coarsen" and did not find DMCoarsen? > > > but did not realize that *interpolation* is the key word to search. > Thanks > > pointing out. > > > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/index.html >
