dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12755
[HG DOLFIN] Misc. fixes for the LA python interface
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 5901:16033e775043da17db3ef62ef504090b46957eca
tag: tip
user: "Johan Hake <hake@xxxxxxxxx>"
date: Tue Mar 17 22:46:03 2009 +0100
files: demo/function/restriction/python/demo.py demo/la/trilinos/python/demo.py demo/la/trilinos/python/demo2.py demo/pde/sym-dirichlet-bc/python/dg-speed-up-test.py demo/pde/sym-dirichlet-bc/python/speed-up-test.py dolfin/la/dolfin_la.h dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i dolfin/swig/dolfin_la_post.i dolfin/swig/dolfin_la_pre.i dolfin/swig/numpy_typemaps.i dolfin/swig/typemaps.i site-packages/dolfin/__init__.py site-packages/dolfin/assemble.py test/unit/la/python/test.py
description:
Misc. fixes for the LA python interface
- added a has_linear_algebra_backend("Foo") function
This function can be used instead of a
try:
import EpetraMatrix
except:
... no Epetra backend
- Added uBLASSparseFactory and uBLASDenseFactory
- Fixes in Factory macro
- More robust typemap for getitem
- Added test for backend assemble and wrong getitem for Matrices
- Bug fix in down_cast macro
changeset: 5900:6e71fc0f1a4bdec1ef27ef25ce1520016bca9e6a
user: "Ola Skavhaug <skavhaug@xxxxxxxxx>"
date: Tue Mar 17 15:12:53 2009 +0100
files: dolfin/io/File.cpp dolfin/io/NewXMLFile.h dolfin/io/NewXMLVector.cpp dolfin/io/NewXMLVector.h dolfin/io/XMLArray.cpp dolfin/io/XMLArray.h dolfin/io/XMLFunctionPlotData.cpp dolfin/la/GenericVector.h sandbox/xml/main.cpp
description:
We can now read FunctionPlotData from file. The next step is to extend Viper to handle this file format.
changeset: 5899:5ee0c5bd421b95ace36b3771cf4d4a42d51bd1c8
user: "Ola Skavhaug <skavhaug@xxxxxxxxx>"
date: Tue Mar 17 11:30:51 2009 +0100
files: dolfin/io/File.cpp dolfin/io/File.h dolfin/io/NewXMLGraph.cpp dolfin/io/NewXMLMatrix.cpp dolfin/io/NewXMLMesh.cpp dolfin/io/NewXMLMeshFunction.cpp dolfin/io/NewXMLParameterList.cpp dolfin/io/NewXMLVector.cpp dolfin/io/NewXMLVector.h dolfin/io/XMLArray.cpp dolfin/io/XMLFunctionPlotData.cpp dolfin/io/XMLFunctionPlotData.h dolfin/io/XMLIndent.cpp dolfin/io/XMLIndent.h dolfin/io/XMLMap.cpp dolfin/io/XMLMeshData.cpp dolfin/plot/FunctionPlotData.cpp dolfin/plot/FunctionPlotData.h
description:
Added XMLIndent to control the indentation level for xml output.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin