Inner KSP never created on SNES

Barry Smith bsmith at mcs.anl.gov
Tue Dec 2 08:47:45 CST 2008


On Dec 2, 2008, at 8:43 AM, Matthew Knepley wrote:

> On Tue, Dec 2, 2008 at 8:41 AM, Barry Smith <bsmith at mcs.anl.gov>  
> wrote:
>
>   Matt,
>
>    You are wrong!
>
>    I will fix this today.
>
> Okay, thats fine. For hg, you can do annotate on the file to see  
> what lines
> come from what version,
          ^^^^^^^^^^^^^^^^^^^^

    I want to find when lines DISAPPEARED, not appeared! And I want a  
simple
search mechanism to find it not, not to have to manually hunt through  
a bunch of
annotated files till I see it gone.

   The search in hg view seems like useless garbage.

    Barry



> and also log to see which sets changed it. You can
> also search in hg view.
>
>   Matt
>
>
>    Barry
>
> On Dec 2, 2008, at 8:29 AM, Matthew Knepley wrote:
>
> I am not against requiring SetFromOptions() to create default  
> objects. We
> already require it to set a default type.
>
>  Matt
>
> On Tue, Dec 2, 2008 at 8:08 AM, Lisandro Dalcin <dalcinl at gmail.com>  
> wrote:
> I've just noticed that now SNES does not create the inner KSP at the
> time SNESCreate() is called. Then I could easily manage to break
> things (basically, if SNESSetFromOptions() is never called)
>
> Does it make sense to add:
>
> if (!snes->ksp) { SNESGetKSP(snes, &snes->ksp);}
>
> near the begining of SNESSetUp() ??
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
>
>
>
>
> -- 
> 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
>
>
>
>
> -- 
> 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




More information about the petsc-dev mailing list