← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Fix in-typemap for uint

 

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

changeset:   6841:857728077ba8b73b2f7bf9d918c7da62a958bb1d
tag:         tip
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Mon Aug 24 12:26:53 2009 +0200
files:       ChangeLog dolfin/swig/typemaps.i
description:
Fix in-typemap for uint
  - Python2.6 introduced an incompatability wrt int typechecks in the
    c-api, making function wanting a dolfin::uint complain, when handed a
    numpy.XXint.


changeset:   6840:aa7ba4aea1e817ff1888e85ba32ef815a67a2ab6
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sun Aug 23 23:27:57 2009 +0200
files:       dolfin/swig/dolfin.i dolfin/swig/dolfin_la_post.i dolfin/swig/dolfin_la_pre.i dolfin/swig/dolfin_shared_ptr_classes.i
description:
Added in/out typemaps for shared_ptr<Epetra_FEFoo>.
  - EpetraVector.vec() and EpetraMatrix.mat() now returns
    a PyTrilinos proxy class of the underlying Epetra object.
    (you just have to import PyTrilinos.Epetra first)
  - The Constructors taking shared version of these objects also work now.
  - Added a macro for in/out typemaps for shared_ptr wrapping of
    such "foreign" classes.
  - Use these functions with care as the underlying sharedness of these objects are
    destroyed, as PyTrilinos does not use shared_ptr for their types.


changeset:   6839:697ad3b259c915c882c9c941448f15029707e510
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sun Aug 23 23:21:04 2009 +0200
files:       demo/la/trilinos/python/demo2.py
description:
Small fix in PyTrilinos demo

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