What arguments? Do you mean the right hand side x and the matrix? Or do you mean parameters like the relative tolerance in convergence?
See src/ksp/ksp/examples/tutorials/ex1.c for a simple example. Barry On Sep 19, 2010, at 8:05 PM, vedaprakash subramanian wrote: > I am converting a MATLAB function into a KSP solver. I am doing it similar to > BiCGStab. But I wanted to know how to pass the arguments of the function into > KSP solver. > > Thanks, > Vedaprakash
