On Thu, Oct 6, 2016 at 9:51 AM, Blaise A Bourdin <[email protected]> wrote:
> Hi, > > I have a problem with 2 nested snes (i.e. SNESComputeFunction for snes1 > involves a SNESSolve for snes2). > Each snes has a different prefix. The problem is that the SESMonitor won’t > print the SNES prefix, so that making sense of output can be a bit tricky… > Is there a simple way to have each snes monitor display the prefix of the > snes it refers to? Alternatively, where in the source code is the residual > printed during snessolve? It would be nice to have a mode that put the prefix on the monitor line. What we currently do is indent the subsolve. I normally make the tab level 1 greater than the enclosing solve http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscObjectGetTabLevel.html#PetscObjectGetTabLevel http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscObjectSetTabLevel.html Thanks, Matt > Blaise > -- > Department of Mathematics and Center for Computation & Technology > Louisiana State University, Baton Rouge, LA 70803, USA > Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~ > bourdin -- 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
