More easily, you use BlockMatrixArray and initialize it with the matrices A, B, D and E. Then, you do not need any new matrices and do not reduplicate data.
Best, Guido Bärbel Janssen wrote: > Dear all, > > I would like to build a sparsity pattern from an existing sparsity > pattern. For example > > the existing pattern is for this system > > (A B C) (D E F) now the new system should be (A B) > (G H I) (D E) > > How can I build a sparsity pattern form the existing system? > > Cheers, > Bärbel > > > ------------------------------------------------------------------------ > > _______________________________________________ > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
