I thought that Array should be automagically mapped to Numpy arrays in Python. This doesn't happen for the new component() function I just added to FunctionSpace.
Test by mesh = UnitSquare(4, 4) V = VectorFunctionSpace(mesh, "CG", 1) print V.sub(0).component() -- Anders
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp