Hi everyone, Oh my - I never got around to finishing this - we need to actually implement the function otherwise there is no sense in deprecating this. I'll open an issue and get it done before the release.
Best, David Wells ________________________________ From: dealii@googlegroups.com <dealii@googlegroups.com> on behalf of Wolfgang Bangerth <bange...@colostate.edu> Sent: Monday, March 29, 2021 12:25 AM To: dealii@googlegroups.com <dealii@googlegroups.com> Subject: Re: [deal.II] PETSc Vector set deprecated > 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: bange...@colostate.edu 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 dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/547b180f-8666-a20d-1922-d95b7425f237%40colostate.edu. -- 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 dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/BN7PR03MB4356F7D2CAFCF22829B34037ED7B9%40BN7PR03MB4356.namprd03.prod.outlook.com.