Yes, that is a general update function, suitable for updating this information at the start of a Newton iterate.
Matt On Wed, Sep 30, 2009 at 10:53 AM, Lukasz Kaczmarczyk <likask at civil.gla.ac.uk > wrote: > Hello, > > I like to use SNES to solve nonlinear system of equations. For my problem, > I have to update some internal variables for computed newtons increments of > primary unknowns, before I update residual (right hand side) and Jacobian. I > found function SNESSetUpdate which is called at the beginning o every > iteration. But I am not sure enough if that function is proper for updating > internal variables. Can You advise me if it is right to use internal > variables, f.e. increments of plastic strain at gauss points. > > Lukasz Kaczmarczyk > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090930/8d0207bd/attachment.htm>
