How to set '_pc_factor_shift_postive_define' not in runtime?

Shengyong lua.byhh at gmail.com
Sat Aug 16 07:20:06 CDT 2008


Hi, Matt

Thank you very much.

On Sat, Aug 16, 2008 at 7:47 PM, Matthew Knepley <knepley at gmail.com> wrote:

>
> http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCFactorSetShiftPd.html
>
>   Matt
>
> On Sat, Aug 16, 2008 at 4:38 AM, Shengyong <lua.byhh at gmail.com> wrote:
> > Hi,
> >
> > 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.
> >
> > Best Regards,
> >
> >
> > --
> > Pang Shengyong
> > Solidification Simulation Lab,
> > State Key Lab of Mould & Die Technology,
> > Huazhong Univ. of Sci. & Tech. China
> >
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which
> their experiments lead.
> -- Norbert Wiener
>
>


-- 
Pang Shengyong
Solidification Simulation Lab,
State Key Lab of Mould & Die Technology,
Huazhong Univ. of Sci. & Tech. China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080816/3348b221/attachment.htm>


More information about the petsc-users mailing list