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:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/547b180f-8666-a20d-1922-d95b7425f237%40colostate.edu.

Reply via email to