← Back to team overview

dolfin team mailing list archive

Re: Moving parallel get() from Function to PETScVector

 



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.

Garth

--
Anders


------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev



Follow ups

References