Never mind, I have been using version 9.4.2. There are a couple of extra 
features implemented in the newest versions that will help me, e.g., there 
is a PETScWrappers::MatrixBase constructor that takes a Mat as input
(https://github.com/dealii/dealii/commit/97911ba3839d7a06c3fb0cd06f7574ea0849103b).
 
Thanks to the developers :)


On Friday, July 21, 2023 at 7:07:22 PM UTC-4 Laryssa Abdala wrote:

> Hello everyone, 
>
> It seems like PETScWrappers::MatrixBase::transpose()  
> <https://www.dealii.org/current/doxygen/deal.II/classPETScWrappers_1_1MatrixBase.html#aacd76b6ce3247735964836a82eedff6d>
>  only 
> works in serial. Is there a way to transpose a distributed 
> PETScWrappers::MPI::SparseMatrix in place? It seems like the way to do this 
> is to:
> Mat temp;
> MatTranspose( petsc_wrapper_matrix,  MAT_INITIAL_MATRIX, &temp);
>  
> From there, is there a way to copy a Mat into a 
> PETScWrappers::MPI::SparseMatrix? Please let me know if I am 
> missing something or if you have other suggestions.
>
> Thank you, 
> Laryssa
>

-- 
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/1897a935-af08-4e75-a3d6-201b79a25314n%40googlegroups.com.

Reply via email to