← 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 10/11/11 17:13, Johan Hake wrote:
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.


Thanks! That did the trick, and it would have taken me forever to figure out.

--
Marie

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
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp



Follow ups

References