← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Remove LU and GMRES classes, use solve instead

 



Anders Logg wrote:
On Thu, May 08, 2008 at 09:52:36PM +0100, Garth N. Wells wrote:
DOLFIN wrote:
One or more new changesets pushed to the primary dolfin
repository. A short summary of the last three changesets is
included below.

changeset:   4179:fff523005c3840bc0428a9efec6fc49dbcd69789 tag:
tip user:        Anders Logg <logg@xxxxxxxxx> date:        Thu
May 08 22:11:29 2008 +0200 files:       ChangeLog
dolfin/la/GMRES.cpp dolfin/la/GMRES.h dolfin/la/LU.cpp
dolfin/la/LU.h dolfin/la/dolfin_la.h
dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i
site-packages/dolfin/__init__.py description: Remove LU and GMRES
classes, use solve instead

How can we create a default solver (e.g. LU) which is re-used?

Garth

You can do

LUSolver solver;

or

KrylovSolver solver(gmres, amg);

But I guess that's not what you mean?


Yes, that's it. I mistakenly thought LUSolver was called LU.

Garth


Follow ups

References