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

Barry Smith bsmith at mcs.anl.gov
Tue Dec 29 20:40:18 CST 2009


   Keep the small values. The nonzero structure will also help the  
convergence of most preconditioners.

    Barry

On Dec 29, 2009, at 4:38 PM, Dominik Szczerba 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-----



More information about the petsc-users mailing list