[petsc-users] MatSetValues and Zero enteries
Mohammad Mirzadeh
mirzadeh at gmail.com
Mon Jun 20 14:42:26 CDT 2011
Hi folks,
I've noticed that MatSetValues explicitly inserts zeros in the matrix if an
element is really zero. Is there a way to drop elements (or not save them in
the first place) that are below a certain tolerance? I realize one way of
doing it is in the application code and when using MatSetValues but I'm just
wondering if PETSc has a function for it?
Thanks,
Mohammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110620/f39cc6a7/attachment.htm>
More information about the petsc-users
mailing list