← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/rognes] Rev 6349: Expose adapt, need to fix MeshFunction C++/Python template foo.

 

On Tuesday October 11 2011 08:03:14 noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 6349
> committer: Marie E. Rognes <meg@xxxxxxxxx>
> branch nick: rognes
> timestamp: Tue 2011-10-11 17:00:58 +0200
> message:
>   Expose adapt, need to fix MeshFunction C++/Python template foo.

SWIG tend to like when the original type name is writen in the .h files for 
templated stuff. So basically change:

  MeshFunction<uint>

to

  MeshFunction<unsigned int>

and I think you're OK.

Johan

> modified:
>   dolfin/adaptivity/adapt.h
>   site-packages/dolfin/cppimports.py
> 
> 
> --
> lp:~dolfin-core/dolfin/rognes
> https://code.launchpad.net/~dolfin-core/dolfin/rognes
> 
> Your team DOLFIN Core Team is subscribed to branch
> lp:~dolfin-core/dolfin/rognes. To unsubscribe from this branch go to
> https://code.launchpad.net/~dolfin-core/dolfin/rognes/+edit-subscription


Follow ups