Is it correct that behind the scenes that U0 = Function(V) U = Function(V) U0.vector()[:] = U.vector()[:]
involves a GenericVector::get(..) call and a GenericVector::set(..) call? If so, it isn't ideal since it introduces unnecessary new/delete operations and unnecessary copying of data. Garth _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

