← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Minot fixes to the PyDOLFIN interface

 

On Sun, May 10, 2009 at 08:06:02PM +0200, 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:   6115:7b2bda129f6b3f39b52ec2c707514b4194f07111
> tag:         tip
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Sun May 10 20:06:07 2009 +0200
> files:       dolfin/common/Variable.cpp dolfin/swig/dolfin.i dolfin/swig/dolfin_common_post.i dolfin/swig/dolfin_log_post.i dolfin/swig/dolfin_log_pre.i dolfin/swig/dolfin_shared_ptr_classes.i
> description:
> Minot fixes to the PyDOLFIN interface
> 
>   - Fixed bug in swig when overloading function with variable number of parameters
>   - Extended Variable with __str__ which just call str()
>   - Fixed unbiguities in Table::set function

Nice.

> Reimplemented copy construtor to Variable, which has been removed.
>   - Not sure if it should be removed from the Variable.h file...

I don't think it's needed. Variable uses no dynamically allocated data
and all its member data have good copy constructors. So the default
copy constructor generated by the compiler should be ok.

I'll remove it again, this time in both .h and .cpp...

-- 
Anders



> 
> changeset:   6114:bc85373c307ea97f304b31b3f38a5c913e1017c4
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Sun May 10 19:55:45 2009 +0200
> files:       dolfin/parameter/NewParameters.cpp
> description:
> Minor formatting fix for printing parameters
> 
> 
> changeset:   6113:9e670c4ea396d50c455bf0a2b31a7c51c4de00ce
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Sun May 10 19:55:29 2009 +0200
> files:       dolfin/log/Table.cpp dolfin/log/log.cpp dolfin/parameter/NewParameters.cpp
> description:
> Make va_list buffer size dynamic in log.cpp. This fixes strange bug
> in printing parameters. Messages sent through the log system are no
> longer limited to DOLFIN_LINELENGTH.
> 
> ----------------------------------------------------------------------
> 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

Attachment: signature.asc
Description: Digital signature


References