← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] merge

 

Hello!

This merge hides essentially two changes:

  1) Added a shared_ptr<FunctionSpace> constructor to Function
  2) Added memcheck for the unittest, including python

This will break the buildbots as two python unittests fails the memorycheck. 
It looks like these are all PETSc and Epetra backend errors.

1) was necessary to be able to instantiate a Function with a shared 
FunctionSpace _and_ a vector in PyDOLFIN. I also ignored the reference 
constructors to Function in the seig interface.

2) I had to enlarge the valgrind suppression file for this. It encountered a 
lot of swig/python related leaks, that might very well not be leaks. I hope I 
have not suppressed real leaks though :P

Johan

On Tuesday 19 May 2009 09:17:20 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:   6189:fa5a6d199223c6a0c3b428c54059024a033dd70c
> tag:         tip
> parent:      6188:dedacdc9a6a931ef5b537c63e287edf95558bf72
> parent:      6185:dd01a176871dcee0ea5179631aeee07a4b322e31
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Tue May 19 09:17:16 2009 +0200
> files:
> description:
> merge
>
>
> changeset:   6188:dedacdc9a6a931ef5b537c63e287edf95558bf72
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Tue May 19 09:16:53 2009 +0200
> files:       ChangeLog test/memory/dolfin_mpi.supp
> test/memory/dolfin_valgrind.supp test/memory/test.py description:
> Added unit tests to the memory check (also Python)
>
>
> changeset:   6187:e5018c2de027f9e03d7e2c345ef9bfb6c62d4e24
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Tue May 19 08:08:04 2009 +0200
> files:       dolfin/function/Function.cpp dolfin/function/Function.h
> dolfin/function/SpecialFunctions.h dolfin/swig/dolfin_function_pre.i
> site-packages/dolfin/compile_function.py description:
> Added a shared_ptr<FunctionSpace> constructor to Function, also
> ignored all reference constructors in Function.h for the python interface
>
> Now also using the shared_ptr<FunctionSpace> constructor in the compiled
> function interface of PyDOLFIN.
>
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




References