[petsc-users] Coarsening vectors

Jed Brown jedbrown at mcs.anl.gov
Fri Apr 6 17:59:07 CDT 2012


On Fri, Apr 6, 2012 at 17:56, Mohamad M. Nasr-Azadani <mmnasr at gmail.com>wrote:

> I just noticed the command DMCoarsen().
> I was wondering if there is a simple command which copies the values of
> the (global) vector created via the fine DM into the coarse DM?
>

with petsc-dev or petsc-3.2 respectively,

http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/DM/DMCreateInterpolation.html
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMGetInterpolation.html

then

http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatRestrict.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120406/cd8f846b/attachment.htm>


More information about the petsc-users mailing list