Hi, thank you very much for the reply, I completely missed that cast operator into a Vec. I will try to see if i can make it work properly.
Best regards, Lorenzo Il giorno martedì 22 febbraio 2022 alle 22:07:22 UTC+1 Timo Heister ha scritto: > Hi Lorenzo, > > I didn't look at your code, but I can help with this: > > > however i am not sure how to extract PETSc Vec object from > PETScWrappers::MPI::Vector without passing from a PETScWrapper::VectorBase. > > You should be able to use the conversion operator > > https://www.dealii.org/developer/doxygen/deal.II/classPETScWrappers_1_1VectorBase.html#ade5e08d408ee79da10cceb7642bfa1da > > PETScWrappers::MPI::Vector x; > Vec px = static_cast<Vec>(x); > -- 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/b0955712-2987-4a85-97ab-137abe363d9an%40googlegroups.com.
