← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5656: Fix refinement from Python.

 

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 noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 5656
> committer: Garth N. Wells <gnw20@xxxxxxxxx>
> 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



Follow ups