<div class="gmail_quote">On Tue, Aug 14, 2012 at 3:56 PM, Peter Brune <span dir="ltr"><<a href="mailto:prbrune@gmail.com" target="_blank">prbrune@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Correct; the sheer amount of code using this convention makes it exceedingly painful to fix.  It would be much easier to alter our internals.  I'm *this* close to fugueing on TS especially and removing all 
PetscObjects from ctx arguments internal to PETSc.  We can pass the TS around by PetscObjectCompose
 using the coarsen/restrict hooks.</blockquote></div><br><div>We could also punt with</div><div><br></div><div>void *PETSC_NULL_FORCE = &knownlocation;</div><div><br></div><div>I like the dogfooding of having TS pass itself as the context to SNES, but could be convinced to change my mind.</div>