[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: combining matrices
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: combining matrices
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 11:33:22 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Wrpc5ag4Ds2eUkaoQcUQ1qh/QnnwTc8DRPcVpU+lt20=; b=N+OlqTPIkEMdIymBMtFfMaNQKEgPh/oGnb6JLVuxgd18tRpNH00cs+QXMSbN8L0f3lTNs4K30NzP9DGJNIkQwHo6YmPJIh+/tHM5eMawaC7cKCCCXMqwukAVQSdtzvZ5QBloDlSXFa1otJMFKjck4dgAytw4zGvC0MTUQADHxXY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KnkhQybfxKfbj3GdI7UggcscAc90BUmQOU9650WQcWo1b6yBQoTgPDIi+7OXfw+ZTh78qTc8GOrJyZvSMSore8dECDoESpjbWS1yD18kB5zbBIiJ57PZbLTLa7OkK3fImcr8UIUbd2i6jflRDAGDOVE3ecFclLJQd44ufCvTZps=
- In-reply-to: <1190213771.46f1388be889c@webmail.mail.gatech.edu>
- References: <1187641537.46c9f8c135de4@webmail.mail.gatech.edu> <Pine.OSX.4.64.0708201536530.4756@bsmith.mcs.anl.gov> <1187698745.46cad8397378c@webmail.mail.gatech.edu> <Pine.OSX.4.64.0709152221230.2202@bsmith.local> <Pine.OSX.4.64.0709152223580.2202@bsmith.local> <1190213771.46f1388be889c@webmail.mail.gatech.edu>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
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@xxxxxxxxxxxxxxx> 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