[petsc-users] how to scale the diagonal of a matrix
Jed Brown
jedbrown at mcs.anl.gov
Tue Jul 30 03:47:22 CDT 2013
丁老师 <ztdepyahoo at 163.com> writes:
> i want to implement the under-relaxation version of the equation. it
> nees to scale the diagonal value a matrix with the relaxation
> factor, could you please tell me how to achieve this goal.
This sounds like damped Richardson, perhaps preconditioned by Jacobi,
but if you really want to do in-place scaling, there is MatShift and
MatDiagonalScale, depending on what you're after.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130730/7ed4efc2/attachment.pgp>
More information about the petsc-users
mailing list