<div dir="ltr">Hi, <br><br>I am going to solve a variable coefficient Poisson equation with ICCG method, ie, the pc-type is icc while the ksp type is pcg. I have found functions in petsc library for setting such options. But how to set this type of options for PC object, for instance ,' _pc_factor_shift_positive_define' not in runtime? Which functions should I call if I want to set this type of option previous in an exectuable program. Because It is not so convient for me to use runtime options on Windows. <br>
<br>Best Regards, <br><br clear="all"><br>-- <br>Pang Shengyong<br>Solidification Simulation Lab, <br>State Key Lab of Mould & Die Technology,<br>Huazhong Univ. of Sci. & Tech. China<br>
</div>