The obvious first step to simplifying dolfin:Array is to minimise its use. Any objections to changing dolfin::Array to std::vector in the GenericFoo abstract linear algebra classes?
The consequence on the Python side will be copying of data. I don't think that this is an issue since the interfaces are low-level and only likely used from Python for prototyping or debugging. In such cases, I would expect that other aspects of the Python overhead to swamp to cost of the data copy. Garth _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp