[petsc-users] DMDA questions

Jed Brown jed at jedbrown.org
Wed Mar 5 12:57:43 CST 2014


Xiangdong <epscodes at gmail.com> writes:

> If I first define a DM, and obtain the solution vector on this DM (through
> non multigrid method).  However, given that this DM is so fine, I may only
> need to save/view the solution on a coarsen grid. Is there some functions
> available in petsc for this instead of writing my own vec scatter?

Where did you try searching and what terms did you try before asking?

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMCoarsen.html
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMCreateInterpolation.html
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMCreateInjection.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140305/b3500bee/attachment.pgp>


More information about the petsc-users mailing list