Nice fix!

I thought we needed to introduce shared_ptr versions of refinements call. But 
I realise this fix only work for SWIG 2.0. As all shared_ptr_foo are renamed 
to foo.

We need to add an extra layer of %rename/%ignore for the SWIG 2.0 case.

I can do this. But again it introduces another layer of complexity you mention 
in your other post.

Johan

On Wednesday February 9 2011 16:19:34 [email protected] wrote:
> ------------------------------------------------------------
> revno: 5656
> committer: Garth N. Wells <[email protected]>
> branch nick: dolfin-all
> timestamp: Wed 2011-02-09 23:44:57 +0000
> message:
>   Fix refinement from Python.
> modified:
>   site-packages/dolfin/mesh/refine.py
> 
> 
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
> 
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to
> https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to