← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Make linear algebra backend dynamic. It should now be possible to

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   4203:b513bf28a89926c0186aa7f46e791a854e522cdf
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sun May 18 00:47:32 2008 +0200
files:       ChangeLog dolfin/la/DefaultFactory.cpp dolfin/la/DefaultFactory.h dolfin/la/EpetraFactory.cpp dolfin/la/EpetraFactory.h dolfin/la/LinearAlgebraFactory.h dolfin/la/Matrix.h dolfin/la/PETScFactory.cpp dolfin/la/PETScFactory.h dolfin/la/Vector.h dolfin/la/dolfin_la.h dolfin/la/uBlasFactory.cpp dolfin/la/uBlasFactory.h dolfin/parameter/DefaultParameters.h dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i
description:
Make linear algebra backend dynamic. It should now be possible to
choose the default linear algebra backend (for Vector and Matrix)
by

  dolfin_set("linear algebra backend", "PETSc");

both in C++ and Python.

Valid options are uBLAS, PETSc, Epetra.

The default is still PETSc if available, otherwise uBLAS.


changeset:   4202:5a1f3d837634d7e45d62a396906a26f19e7fe8fe
user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
date:        Sat May 17 12:24:06 2008 +0200
files:       demo/la/trilinos/python/demo2.py dolfin/la/EpetraKrylovSolver.cpp
description:
added other solvers and preconditioners


changeset:   4201:39def0389568c8fef2ac48c2566ca76aaac21900
user:        Kent-Andre Mardal <kent-and@xxxxxxxxx>
date:        Sat May 17 10:13:34 2008 +0200
files:       demo/la/trilinos/python/demo2.py dolfin/la/EpetraKrylovSolver.cpp
description:
bug fix in ifdefs

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin


Follow ups