← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Use shared_ptr in EpetraMatrix.

 



Anders Logg wrote:
On Tue, Dec 30, 2008 at 11:58:05AM +0000, Garth N. Wells wrote:
On Dec 30 2008, DOLFIN wrote:

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

changeset: 5504:72a4a42ea733ca6ab68adf4dd437f8992bf6f9ee tag: tip user: "Garth N. Wells <gnw20@xxxxxxxxx>" date: Tue Dec 30 10:52:57 2008 +0000 files: dolfin/la/EpetraKrylovSolver.cpp dolfin/la/EpetraMatrix.cpp dolfin/la/EpetraMatrix.h description: Use shared_ptr in EpetraMatrix.

This breaks the Pythin Trilinos demo. We can either figure how to work with shared_ptr in the Python interface, or I can add back a function to EpetraMatrix that returns a reference to the underlying Epetra object.

Garth

I think we should change it back until we know how to fix it.


Johan mentioned a while ago that SWIG can wrap boost::shared_ptr, so I was hoping that he could fix it before a release (using boost::shared_ptr instead of std::tr1::shared_ptr in necessary).

Garth

It would be good if we can get a release ready soon.



------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




References