[petsc-dev] DM RefineLevel and CoarsenLevel

Matthew Knepley knepley at gmail.com
Sun May 6 14:45:37 CDT 2012


That sounds fine to me.

  Matt

On Sun, May 6, 2012 at 3:44 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 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.
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120506/ba21b6b1/attachment.html>


More information about the petsc-dev mailing list