[petsc-dev] DM RefineLevel and CoarsenLevel

Jed Brown jedbrown at mcs.anl.gov
Sun May 6 14:44:21 CDT 2012


Should the refinement level be copied over by DMCoarsen (and the coarsen
level be copied by DMRefine)?

It's useful for diagnostics to be able to define a universal level. If I
use PCMG and -snes_grid_sequence, there is effectively a sequence like

DMCreate(,&dm0); // r=0,c=0
DMRefine(dm0,&dmf); // r=1,c=0
DMCoarsen(dmf,&dmc); // r=0,c=1


I would like a way to identify dmc as being on the "same level" as dm0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120506/b6e5c3fd/attachment.html>


More information about the petsc-dev mailing list