Re: [deal.II] Extract some blocks from a sparse block matrix

2017-03-01 Thread Daniel Jodlbauer
SparseDirectUMFPACK creates a copy of the matrix using iterators, which are not implemented for the BlockMatrixArray, so these would have to be added (and some minor other functions used within the factorize method). Alternatively, one could implement the factorize method for BlockMatrixArray se

Re: [deal.II] Extract some blocks from a sparse block matrix

2017-02-28 Thread lianzhang030592
Dear Timo Heister, Thank you very much. I have used the BlockMatrixArray object in my code and it works well. However, it seems that the BlockMatrixArray object is a kind of pointer so that we have to use the iteration method to solve the linear system, of course, we could develop precondition

Re: [deal.II] Extract some blocks from a sparse block matrix

2017-02-27 Thread lianzhang030592
Dear Timo Heister, Thank you very much. I have used the BlockMatrixArray object in my code and it works well. However, it seems that the BlockMatrixArray object is a kind of pointer so that we have to use the iteration method to solve the linear system, of course, we could develop precondition

Re: [deal.II] Extract some blocks from a sparse block matrix

2017-02-20 Thread Timo Heister
Leon, yes, each block in a BlockSparseMatrix is in fact a SparseMatrix. You can use something like BlockMatrixArray to compose sparse matrices into a different block structure without copying the matrices. On Mon, Feb 20, 2017 at 10:50 AM, wrote: > Dear all, > > I'm working on some monolithic a

[deal.II] Extract some blocks from a sparse block matrix

2017-02-20 Thread lianzhang030592
Dear all, I'm working on some monolithic and partitioned schemes of FSI problem. In a monolithic scheme, the matrix usually consists both fluid and structure parts. However in a partitioned scheme, we can use two matrices which represent the fluid and structure separably. I would like to extrac