<div dir="ltr"><div><div><div><div><div>Dear All,<br><br></div>If I am solving a linear system uses the KSP solver context i.e. <b>ierr = KSPSolve(ksp,RHS,</b><i>Solution</i><b>);</b> and I require an non zero initial guess for the system is it sufficient to call <b>ierr = KSPSetInitialGuessNonzero(ksp,nonzeroguess);</b> and supply the vector <br>
</div><i>Solution</i> with the values I require? will the initial non zero guess be taken as the values I specified in the vector <i>Solution</i>? or is there something else that must be done to achieve this?<br><br></div>
Just need to make sure of this. Thanks in advance for any help.<br><br></div>Regards,<br></div>Anthony<br></div>