Thank you very much. 

On Wednesday, 29 July 2020 09:59:43 UTC-7, Wolfgang Bangerth wrote:
>
> On 7/28/20 12:11 PM, 孙翔 wrote: 
> > Hi, I followed step-17 and build a system matrix of which type 
> > is PETScWrappers::MPI::SparseMatrix. I want to output it after 
> assembling. How 
> > should I do it? Thank you very much. 
>
> If performance doesn't matter, just loop over all indices i and j and 
> output 
> the value of the matrix. If you're running in parallel, you need to 
> restrict 
> the loop over i to the locally owned range. 
>
> Best 
>   W. 
>
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             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/a41dd189-9dc2-4ada-a33e-c8b2fc31ea4co%40googlegroups.com.

Reply via email to