On Tue, May 31, 2011 at 06:55:50AM -0000, Praveen C wrote: > Question #159696 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/159696 > > Status: Answered => Open > > Praveen C is still having a problem: > Thats close. I need to save the degree of freedom (u) and its associated > location (x). I dont know how to access these from the solution u and > the mesh.
Just call u.vector().array() and you will get a NumPy array that you can iterate over. -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp