Hello Everyone,<br><br>I am a new PETSc user; and I am wondering if any one can help me with the following issue.<br><br>The issue is I want to write KSP solver with all the required objects in an external subroutine and then call it from my main program. I don't know if I can do that. <br><br>What I mean is I have a main code consist of several subroutines and I want to change my solver with PETSc solver with keeping the same structure of my main program. <br><br>Thanks :)<br><br>Waad<br><p> 
<hr size=1>Be a better Heartthrob. <a href="http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433">Get better relationship answers </a>from someone who knows.<br>Yahoo! Answers - Check it out.