On 6/22/23 06:35, Lance Zhang wrote:

May I know whether there is any other method to change the matrix with data type BlockSparseMatrix<double> into a matrix with BlockSparseMatrix<double>?

No. The inverse of a sparse matrix is, in general, not sparse. For all problems of a realistic size, even if you can store a matrix A, you will not be able to store A^{-1}. As a consequence, we never use the inverse of a sparse matrix in deal.II, and there are no functions to compute inverses of sparse matrices.

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/deffab4b-b1ec-e5c8-73d2-79bffdcb6292%40colostate.edu.

Reply via email to