dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07868
Re: [HG DOLFIN] Remove LU and GMRES classes, use solve instead
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?
--
Anders
> >
> > changeset: 4178:c69f8682f388943b8375636186d666bd1fa08087
> > user: "Anders Logg <logg@xxxxxxxxx>"
> > date: Thu May 08 21:16:55 2008 +0200
> > files: site-packages/dolfin/__init__.py
> > description:
> > Import solver types and preconditioner types in Python
> >
> >
> > changeset: 4177:2bda820618da1121c29003765964b04b51cb0ad6
> > user: "Anders Logg <logg@xxxxxxxxx>"
> > date: Thu May 08 20:51:15 2008 +0200
> > files: dolfin/la/solve.cpp dolfin/la/solve.h sandbox/la/solve/Poisson.form sandbox/la/solve/Poisson.h sandbox/la/solve/SConstruct sandbox/la/solve/main.cpp
> > description:
> > Make solve() function more intelligent, can now also handle Krylov methods
> >
> > ----------------------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References