[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changes to MatSetOption() in petsc-dev
- To: petsc-dev@xxxxxxxxxxx
- Subject: Re: changes to MatSetOption() in petsc-dev
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Mon, 9 Jul 2007 17:21:56 -0300
- Dkim-signature: a=rsa-sha1; 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; b=LJflqb8xqUaEEsGDKIjOt6xFqpbAwKhIQY4c5Ume4vm0rzilP61YBs3HyqrlSFfOeiQK3HTfLVNdChb++U46PUUS03e4PmC0hpgKh+U4CIas+qAL9RjJ1PeYNTlr+bh1sInxE54YmTGRj1kTXhitTMWC9O/aAmhVrLliVuPAvpE=
- 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=ttASIBQMrjD6aotvwmh3l9K/POz81TFRb6QC7eUuhgm5IBSaWuRLuQYCGNqze7uMXfL+oLlXdAsTt/fmWkOf4I1l8OfR+uwZwGnF/sgVZQgKmw5Gs3XaEBZF5/PB+jPhBKAF4srvVknjy1cGxc1vp2LRU+4tMWLbqQet2qbt1bY=
- In-reply-to: <Pine.OSX.4.64.0707091334340.330@bsmith.local>
- References: <Pine.OSX.4.64.0707091334340.330@bsmith.local>
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
On 7/9/07, Barry Smith <bsmith@xxxxxxxxxxx> wrote:
I have pushed a change to the MatSetOption() function.
Barry, a couple of comments
* I think MAT_NO_NEW_NONZERO_LOCATIONS should be
MAT_NEW_NONZERO_LOCATIONS, for symmetry with the other option names.
* I think all the MAT_INODE_LIMIT_[1..5] could be perhaps removed from
MatOption, and add a new function MatSetInodeLimit(Mat A, PetscInt
limit). Not sure what to do with MAT_USE_INODE. Perhpas it can be
also removed, and use the previous function (with limit==0, no inodes,
and with 1 <= limit <=5, use inodes with that limit)
* You removed the MAT_[ROW|COLUMN]_SORTED stuff. I think you should
keep it, even when this feature is not yet implemented.
--
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