> I am building PETSc vectors with the set operation and I see it’s deprecated. The documentation suggests to use “import( )” but I don’t see how to use it.
>
> How can I use import( ) as a replacement for set( ) as the documentation suggests? Please provide an example.
I don't know the answer, but maybe David Wells does given that the deprecation
was added in
https://github.com/dealii/dealii/pull/10398
For sure, you could simply write into the vector elements one by one. That
doesn't require 'import()' at all.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/