[petsc-dev] DM RefineLevel and CoarsenLevel

Barry Smith bsmith at mcs.anl.gov
Sun May 6 14:57:47 CDT 2012


  Fine

On May 6, 2012, at 2:44 PM, Jed Brown 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.




More information about the petsc-dev mailing list