<div dir="ltr">Hi, Matt<br><br>Thank you very much. <br><br><div class="gmail_quote">On Sat, Aug 16, 2008 at 7:47 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><a href="http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetShiftPd.html" target="_blank">http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetShiftPd.html</a><br>
<br>
Matt<br>
<div><div></div><div class="Wj3C7c"><br>
On Sat, Aug 16, 2008 at 4:38 AM, Shengyong <<a href="mailto:lua.byhh@gmail.com">lua.byhh@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am going to solve a variable coefficient Poisson equation with ICCG<br>
> method, ie, the pc-type is icc while the ksp type is pcg. I have found<br>
> functions in petsc library for setting such options. But how to set this<br>
> type of options for PC object, for instance ,'<br>
> _pc_factor_shift_positive_define' not in runtime? Which functions should I<br>
> call if I want to set this type of option previous in an exectuable<br>
> program. Because It is not so convient for me to use runtime options on<br>
> Windows.<br>
><br>
> Best Regards,<br>
><br>
><br>
> --<br>
> Pang Shengyong<br>
> Solidification Simulation Lab,<br>
> State Key Lab of Mould & Die Technology,<br>
> Huazhong Univ. of Sci. & Tech. China<br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
What most experimenters take for granted before they begin their<br>
experiments is infinitely more interesting than any results to which<br>
their experiments lead.<br>
-- Norbert Wiener<br>
<br>
</font></blockquote></div><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>