[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MatConvert with same+reuse+inplace
- To: petsc-dev@xxxxxxxxxxx
- Subject: Re: MatConvert with same+reuse+inplace
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Tue, 5 Feb 2008 19:01:42 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=xILT0xcrXJkggSVVb7nhAHMda8peUm58gasrdKsgR68=; b=nEWvZCziKR6O3ysfuz2gg9DTNbkg0TC6slUfrUC/2NUkgqMSRfSZ48RBvZdVDsYuyknm0Hl5jCMNXkk/XhRSD05J5hCMjha1pKqWrwu3jNAPGnYEGEUhDXtac3VUKI2Yh4/Td3PUt3gFVh3Cy+l7DOedyyS5vrffShVYcln1J8M=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NTE42MQM77KFINbl2aFw+TtGL7E2aaHQrFKD8QEnwoj3BqKZD/NpoGBAcz9uHYqmg4N99CI/pxvugHVNbP/FkRThpc5Emy6JLwT5sLa4FQaVwWX4f/kttMB2HZ4Rg4/KvpxxYP4GLZarkFSILmet+DLaEP6fp/CHTEBLBXX6nJE=
- In-reply-to: <25C027A7-E14E-4C1D-ABDF-1E77E52EFF6D@mcs.anl.gov>
- References: <e7ba66e40802051049t6e61d046r4978cdc730be252f@mail.gmail.com> <25C027A7-E14E-4C1D-ABDF-1E77E52EFF6D@mcs.anl.gov>
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
On 2/5/08, Barry Smith <bsmith@xxxxxxxxxxx> wrote:
> if ((reuse == MAT_REUSE_MATRIX) && (issame || sametype))
> PetscFunctionReturn(0);
> do you think this will handle the cases appropriately.
>
Yes, it seems OK. Thanks, Barry.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594