[petsc-users] PCMG and DMMG
DU Yongle
yongle.du at gmail.com
Mon Feb 9 10:09:30 CST 2015
Good morning, everyone:
I have an existing general CFD solver with multigrid implemented. All
functions (initialization, restriction, prolong/interpolation, coarse/fine
grids solver......) are working correctly. Now I am trying to rewrite it
with PETSc. I found that the manual provides very little information about
this and is difficult to follow. I found another lecture notes by Barry
Smith on web, which is:
http://www.mcs.anl.gov/petsc/documentation/tutorials/Columbia04/DDandMultigrid.pdf
However, it is still not clear the difference and connection between PCMG
and DMMG. Some questions are:
1. Should DMMG be used to initialize the coarse grids (and boundary
conditions) before PCMG could be used? If not, how does PCMG know all
information on coarse grids?
2. Due to the customized boundary conditions, indices of the grids,
boundary conditions, grid dimensions on each coarse grid levels are
required for particular computations. How to extract these information in
either DMMG or PCMG? I have not found a function for this purpose. I have
set up all information myself, should I pass these information to the
coarse grid levels to the coarse levels? How and again how to extract these
information?
3. I have the restriction, interpolation, coarse grid solver ...
implemented. How could these be integrated with PETSc functions? It appears
that some functions like PCMGGetSmoother/UP/Down, PCMGSetInterpolation ....
should be used, but how? The online manual simply repeat the name, and
provides no other information.
Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150209/bf4b784f/attachment.html>
More information about the petsc-users
mailing list