<p>Hi, PETSc Developer<br></p><p>Now, I have two matrices, A and B. A (its dimension is 2N*2N) is MPIDense format. B (N*N) is MPIAIJ.</p><p>I want to exact four matrices from A, like this</p><p> A11 A12</p><p>A=</p><p>
A21 A22</p><p>each submatrices is multplied by B. My question is if A11, A12, A21, A22 have same distribution with B, how to do it with MatGetSubMatrix()? </p><p>Thanks a lot.</p><p>Regards,</p><p>Yujie</p>