Thread Previous • Date Previous • Date Next • Thread Next |
Anders Logg wrote:
On Sun, Aug 16, 2009 at 04:48:28PM +0100, Garth N. Wells wrote:Anders Logg wrote:It looks to me like it would be appropriate to move the get() functionality from Function to Vector. If PETSc had provided a parallel VecGetValues, then we would have used that directly. Since PETSc does not provide it, we need to implement it ourselves and then it seems natural to put it in the linear algebra library.Yes, it should be moved. We now have GenericVector::gather to help retrieve off-process vector entries.ok. I'll take a look as soon as I can, if you don't get there first.
On second thoughts, I'm not that we want to do this. We should keep the vector clean, i.e. just a vector and not two vectors of on- and off-process vectors. We can have a new Vector::get, but it might not replace the one in Function.
Garth
-- Anders ------------------------------------------------------------------------ _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/mailman/listinfo/dolfin-dev
Thread Previous • Date Previous • Date Next • Thread Next |