Xiangdong <[email protected]> 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
pgpgHPoZo12c2.pgp
Description: PGP signature
