matrix free for linear solver

Lisandro Dalcin dalcinl at gmail.com
Mon Mar 3 12:26:30 CST 2008


On 3/3/08, li pan <li76pan at yahoo.com> wrote:
>  Now my question is, if the SNES method includes a JFNK
>  method to solve the linear equation, why can't I use
>  it for my linear equation directly? And how?

Sorry, I'm a bit confused. Are you trying to solve a linear or a
nonlinear problem? What are you exactly trying to do?


>
>  thanx
>
>  pan
>
>
>
>  --- Matthew Knepley <knepley at gmail.com> wrote:
>
>  > On Mon, Mar 3, 2008 at 11:05 AM, li pan
>  > <li76pan at yahoo.com> wrote:
>  > > Dear all,
>  > >  If I want to solve a linear equation in matrix
>  > free
>  > >  scheme, how is the command line argument? I only
>  > know
>  > >  for nonlinear solver it is _snes_mf
>  >
>  > What do you mean here? How do you have linear
>  > equations without
>  > a matrix? If you mean that you would only like to
>  > specify the action
>  > of the operator, you should use MATSHELL.
>  >
>  >   Matt
>  >
>  > >  thanx
>  > >
>  > >  pan
>  > >
>  > >
>  > >
>  > >
>  >
>  ____________________________________________________________________________________
>  > >  Looking for last minute shopping deals?
>  > >  Find them fast with Yahoo! Search.
>  >
>  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>  > >
>  > >
>  >
>  >
>  >
>  > --
>  > 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
>  >
>  >
>
>
>
>
>       ____________________________________________________________________________________
>  Never miss a thing.  Make Yahoo your home page.
>  http://www.yahoo.com/r/hs
>
>


-- 
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




More information about the petsc-users mailing list