[petsc-users] Insert one sparse matrix as a block in another
Peder Jørgensgaard Olesen
pjool at dtu.dk
Mon Dec 12 12:31:38 CST 2022
Hello
I have a set of sparse matrices (A1, A2, ...) , and need to generate a larger matrix B with these as submatrices. I do not know the precise sparse layouts of the A's (only that each row has one or two non-zero values), and extracting all values to copy into B seems incredibly wasteful. How can I make use of the sparsity to solve this efficiently?
Thanks,
Peder
[http://www.dtu.dk/-/media/DTU_Generelt/Andet/mail-signature-logo.png]
Peder Jørgensgaard Olesen
PhD student
Department of Civil and Mechanical Engineering
pjool at mek.dtu.dk<mailto:pjool at mek.dtu.dk>
Koppels Allé
Building 403, room 105
2800 Kgs. Lyngby
www.dtu.dk/english<https://www.dtu.dk/english>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221212/0addc10f/attachment.html>
More information about the petsc-users
mailing list