Initial values

Matthew Knepley knepley at gmail.com
Thu Jun 11 06:19:16 CDT 2009


On Thu, Jun 11, 2009 at 3:28 AM, Panyasantisuk Jarunan <
Jarunan.Panyasantisuk at eleves.ec-nantes.fr> wrote:

>
> Hello,
>
> What is actually the initial values in solving a linear system? And where
> can I set it?


The initial values are in x when you call

  KSPSolve(ksp, b, x)

assuming that you call

  KSPSetInitialGuessNonzero(ksp, PETSC_TRUE)

   Matt


>
> Best regards,
> Jarunan
>
>
> --
> Jarunan PANYASANTISUK
> MSc. in Computational Mechanics
> Erasmus Mundus Master Program
> Ecole Centrale de Nantes
> 1, rue de la noë, 44321 NANTES, FRANCE
>
>
>
>
>
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090611/3efbcc1c/attachment.htm>


More information about the petsc-users mailing list