dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #14969
[HG DOLFIN] Added in/out typemaps for shared_ptr<Epetra_FEFoo>.
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 6840:aa7ba4aea1e817ff1888e85ba32ef815a67a2ab6
tag: tip
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
changeset: 6838:7706685515885a125cb0c9449925ea2bc9e85b30
user: "Johan Hake <hake@xxxxxxxxx>"
date: Sun Aug 23 23:15:22 2009 +0200
files: dolfin/swig/typemaps.i
description:
Removed some typemaps for old ParameterSystem
Use TypeError in typemaps instead of ValueError in type checks
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin