[petsc-users] removing small entries from a sparse matrix

Matthew Knepley knepley at gmail.com
Tue Dec 29 16:47:31 CST 2009


This does not exist, but the right place would be to modify the behavior of
MAT_IGNORE_ZERO_ENTRIES
to use a tolerance.

   Matt

On Tue, Dec 29, 2009 at 4:38 PM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is it possible to remove small (subject to given tol) entries in my
> sparse coefficient matrix after the values have been set (added)? I have
> a highly convective problem where I ask myself what's better, keep lots
> of explicit zeros to rescue constant non-zero pattern or eliminate the
> near-zero entries.
> Dominik
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAks6hNcACgkQ/EBMh9bUuzI1HgCfZElssh2ARTcWCUi4u8GepkcA
> ljsAoNj6o87hSP9MqjgpC6jCelO098PV
> =JpNc
> -----END PGP SIGNATURE-----
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091229/901bc9cb/attachment.htm>


More information about the petsc-users mailing list