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.

Thanks,
?
Leping
________________________________


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

Reply via email to