On Wednesday 16 December 2009 09:28:21 David Beacham wrote: > Hi, > > I'm not sure if it's my relative inexperience with python, but I can't > find the coordinates x in data, when overloading eval_data in > Expression. I'm guessing from doxygen/pydoc that they should be available?
Have you tried: x = data.x() We needed to make the x attribute a method returning the x array in Python. Johan > David > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

