SNESGetDM() this will return not the original DM you set but the refined one.
> On Sep 10, 2015, at 3:47 PM, Gideon Simpson <[email protected]> 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 >
