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

Barry Smith bsmith at mcs.anl.gov
Wed Dec 30 16:13:12 CST 2009


On Dec 30, 2009, at 2:35 AM, Dominik Szczerba wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Have there been any studies in that matter? Anything I should cite to
> justify such choice?

   Not that I know of.

    Barry

>
> Dominik
>
> Barry Smith wrote:
>>   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:
>>
>> 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)
>
> iEYEARECAAYFAks7EMAACgkQ/EBMh9bUuzJdyQCfSg2aGnJKfgg1QI9FBLBL8jBu
> prYAoNV08lipWo/SSYrL9nTHxfPfQcV5
> =ilAT
> -----END PGP SIGNATURE-----



More information about the petsc-users mailing list