On Wed, 17 Dec 2008, Tim Kroeger wrote: > Why does NumericVector::localize_to_one() write its results into an > std::vector<T> rather than into another NumericVector<T>, like most of > the localize() methods do?
We only really use that method for data output, for which it's pointless to create a PETSc or some such linear algebra vector. > Is there some easy workaround for that? Don't we have NumericVector constructors that take a std::vector? Not that that's efficient, but it's easy. Otherwise you may have to write an overloaded localize_to_one(). What do you need a NumericVector on one processor for? --- Roy ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
