I'm having trouble passing a MeshFunction from the Python interface to
the following function in the C++ Form class:

  void set_cell_domains(boost::shared_ptr<const MeshFunction<uint> > 
cell_domains);

Any hints on what needs to be changed in the SWIG files?

When I pass a MeshFunction from Python, I get this:

TypeError: in method 'Form_set_cell_domains', argument 2 of type
'boost::shared_ptr< dolfin::MeshFunction< dolfin::uint > const >'

--
Anders

_______________________________________________
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