combining matrices

Matthew Knepley knepley at gmail.com
Wed Sep 19 11:33:22 CDT 2007


This is, in general, not an efficient parallel operation. We do offer
MatGetSubMatrix(), but for simple situations I would avoid it.

  Matt

On 9/19/07, Alejandro Garzon <gtg100n at mail.gatech.edu> wrote:
>
> Hi, Is there a function to combine two matrices, sizes m x n1 and m x n2, in a
> single matrix size m x (n1 + n2) or the analog case for rows? Thanks.
>
> Alejandro.
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list