SNES and internal variables

Lukasz Kaczmarczyk likask at civil.gla.ac.uk
Wed Sep 30 10:53:32 CDT 2009


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


More information about the petsc-users mailing list