← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 6355: Add "default" as option for LU solver for uBLAS and MTL4 backends

 

On Thu, Oct 20, 2011 at 08:46:07PM +0100, Garth N. Wells wrote:
>
>
> On 20 Oct 2011, at 20:32, noreply@xxxxxxxxxxxxx wrote:
>
> > ------------------------------------------------------------
> > revno: 6355
> > committer: Anders Logg <logg@xxxxxxxxx>
> > branch nick: work
> > timestamp: Thu 2011-10-20 21:24:07 +0200
> > message:
> >  Add "default" as option for LU solver for uBLAS and MTL4 backends
> >  and fix illegal use of Cholesky as an LU method in one demo.
>
> What does illegal use mean?

  LUSolver solver("cholesky");

"cholesky" is not a valid LU method for any of the LU solvers as far
as I can tell. Correct use is

  CholeskyCholmodSolver solver;

or

  solve(A, x, b, "cholesky");

--
Anders



> Garth
>
>
> > modified:
> >  demo/undocumented/sym-dirichlet-bc/cpp/main.cpp
> >  dolfin/la/MTL4Factory.h
> >  dolfin/la/uBLASFactory.h
> >  test/unit/book/python/chapter_10.py
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


References