[petsc-users] Global matrix from global sub-matrices

Bikash Kanungo bikash at umich.edu
Tue May 5 15:34:04 CDT 2015


Hi,

I have four global matrices: A (mxm), B (mxn), C (nxm) and D (nxn). All of
these are of type MATMPIAIJ (sparse parallel matrix) created using number
of global rows and columns. I want to construct an (m+n)x(m+n) global
matrix called M which would have A, B, C and D as its sub-matrices in
clockwise fashion starting from A at the upper-left. What can be the best
way to construct M from A, B, C and D sub-matrices?

Thanks,
Bikash

-- 
Bikash S. Kanungo
PhD Student
Computational Materials Physics Group
Mechanical Engineering
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150505/19717900/attachment.html>


More information about the petsc-users mailing list