<div dir="ltr">Hi,<div><br></div><div>I am trying to SNES with Fortran.</div><div>In FormFunction in SNESSetFuction, i need to call other subroutine and many array to calculate F(x), but seems like SNESSetFunction only allows one user-defined array as input argument, say, "dummy" in the next line.</div><div><br></div><div>CALL SNESSetFunction(snes,r,FormFunction,dummy,ierr)</div><div><br></div><div>How can I pass more than one array through SNESSetFunction to FormFunction?</div><div><br></div><div>I am a beginner for PETSc, so the question maybe naive.</div><div><br></div><div>Thanks,</div><div>Lo</div><div><br></div></div>