David Knezevic via petsc-users <[email protected]> writes: > I'm doing load stepping with SNES, where I do a SNES solve for each load > step. Ideally the convergence tolerances for each load step would be set > based on the norm of the load in the current step. As a result I would like > to be able to update the absolute and relative tolerances on a SNES. > > I tried to call SNESSetTolerances at the beginning of each load step, but > it seems (based on the -snes_view output) that the tolerances do not get > updated. Is there a way to update the tolerances?
Did you also have SNESSetFromOptions and specify tolerances on the command line? SNESSetTolerances should be used unless it gets overwritten later by a process such as SNESSetFromOptions.
