[petsc-users] grid sequencing & DMComposite

Barry Smith bsmith at mcs.anl.gov
Thu Sep 10 16:28:23 CDT 2015


  SNESGetDM()  this will return not the original DM you set but the refined one.

> On Sep 10, 2015, at 3:47 PM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
> 
> I’m using a DMCompsosite along with grid sequencing and here’s what I’m trying to accomplish.  After running the SNES solve, I’d like to evaluate the residual on the refined grid, on each piece of the DMComposite.  How do I get a DM for the refined grid which I can then use with DMCompositeGetLocalVectors in order to get each piece of the problem?  Or is there a better way?
> 
> -gideon
> 



More information about the petsc-users mailing list