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/CAMRj59FsRWAO9d3AKLe9ajF%3Dq2hAe3bPYM1upUvDRQ%2B7dVPc_g%40mail.gmail.com.

Reply via email to