[petsc-users] about snes

陈乐平 chenleping at yahoo.cn
Wed Apr 14 08:25:58 CDT 2010

petsc teams,

When I used the snes,as follows,

call SNESSetFunction(snes,r,FormFunction,PETSC_NULL_OBJECT,ierr)
subroutine FormFunction(snes,x,r,dummy,ierr)

I wonder if I can change the parameters of FormFunction(),for 

example, FormFunction(snes,x,r,dummy,K,max,ierr) and so on?

Beacuse I need pass some parameters into FormFunction(),I don't want 

use common blocks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100414/54b52f8d/attachment.htm>

More information about the petsc-users mailing list