On 12/04/2017 12:04 PM, Peimeng Yin wrote:
I want to solve a linear system, which has the following form

(A+B A^{-1} B) u = f

Here A is a diagonal black matrix, B is a block matrix that I can figure out the pattern. Are there any solver that I can use to solve the linear system?

Yes. Have you taken a look at step-20 and step-22? They do exactly this sort of thing.


Can I figure out the pattern of B*B or BA^{-1}B ?

In general, A^{-1} is going to be a dense matrix even if A is a sparse matrix. So building this matrix is not efficient.

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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to