[petsc-users] SNES norm control

Barry Smith bsmith at mcs.anl.gov
Mon Jan 11 23:14:49 CST 2016


   You can use SNESSetConvergenceTest() to use whatever test you want to decide on convergence.

Barry

> On Jan 11, 2016, at 3:26 PM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
> 
> I’m solving nonlinear problem for a complex valued function which is decomposed into real and imaginary parts, Q = u + i v.  What I’m finding is that where |Q| is small, the numerical phase errors tend to be larger.  I suspect this is because it’s using the 2-norm for convergence in the SNES, so, where the solution is already, the phase errors are seen as small too.  Is there a way to use something more like an infinity norm with SNES, to get more point wise control?
> 
> -gideon
> 



More information about the petsc-users mailing list