dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07454
[HG DOLFIN] Commented out petsc version of has_type.
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 3989:8ef95cba0138cef27340a80bc23d9a94b1b71e1e
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Mon Apr 14 13:55:53 2008 +0200
files: dolfin/swig/dolfin_la_post.i
description:
Commented out petsc version of has_type.
changeset: 3988:dee1d3ba1f89f46067c5ace88c18b8eb3eea3811
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Mon Apr 14 11:49:21 2008 +0200
files: dolfin/fem/DirichletBC.cpp dolfin/la/GenericTensor.h dolfin/la/PETScVector.cpp dolfin/la/uBlasVector.cpp dolfin/la/uBlasVector.h dolfin/swig/dolfin_la_post.i
description:
Added
bool b = v.has_type<uBlasVector>();
and
b = has_type(v, uBlasVector)
like with down_cast.
Improved down_cast in Python so you can also write
u = down_cast(v)
which will iterate through all available types and pick the one that matches.
Removed as_* in uBlasVector.
(Some similar changes are left out for PETSc.)
changeset: 3987:d3aed635a0925b5076a186d567872d26cf3a61d7
user: Johannes Ring <johannr@xxxxxxxxx>
date: Mon Apr 14 08:31:50 2008 +0200
files: dolfin/SConscript
description:
Added check for CppUnit.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin