[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PETSc sparsity
- To: "Toby D. Young" <tyoung@xxxxxxxxxxx>
- Subject: Re: PETSc sparsity
- From: Barry Smith <bsmith@xxxxxxxxxxx>
- Date: Wed, 11 Jul 2007 22:25:30 -0500 (CDT)
- Cc: petsc-dev@xxxxxxxxxxx, Mark Adams <adams@xxxxxxxx>
- In-reply-to: <20070629121638.3b3215c3@rav.ippt.gov.pl>
- References: <Pine.LNX.4.58.0706152008580.18121@brama.ippt.gov.pl> <Pine.OSX.4.64.0706151433030.227@bsmith.local> <Pine.LNX.4.58.0706152224380.31517@brama.ippt.gov.pl> <76938312-4CF1-42B4-A37F-68207636B266@pppl.gov> <a9f269830706151913r2e61753coa72c418c22d84f67@mail.gmail.com> <4CD73A09-339D-4435-9D6E-21A890B8F603@pppl.gov> <Pine.LNX.4.58.0706162147250.23423@brama.ippt.gov.pl> <Pine.OSX.4.64.0706161622550.227@bsmith.local> <Pine.LNX.4.58.0706162342120.23423@brama.ippt.gov.pl> <Pine.OSX.4.64.0706161657570.227@bsmith.local> <20070629121638.3b3215c3@rav.ippt.gov.pl>
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
Yes, this requires mucking with the internals of the data
structure. Not terribly hard but requires some thought (especially
in parallel).
Barry
I wish I had time to do this, but we don't unless more PETSc developers
appear.
On Fri, 29 Jun 2007, Toby D. Young wrote:
>
>
>
> > Ok, I understand. They want to zero out all the rows AND COLUMNS
> > that associated with the zero boundary conditioned points. Since
> > PETSc sparse matrices are stored by row it is difficult to zero
> > certain columns.
>
> Yes, we are trying to zero out rows & columns. I think I understand the
> source of the problem myself a lot better too now; thanks for that
> comment Barry.
>
> > Perhaps we could augment the CSR storage format by having an
> > additional list of locations for each column? This could be generated
> > at MatAssembly time.
>
> This can not be implemented by a user can it, in fact this requires some
> modification of the internals of PETSc matrices, am I right?
>
> Sadly, I am only a beginner in the PETSc world and therefore not "PETSc
> competent" enough to try it. :-(
>
> Cheers,
> Toby.
>
>
>