int MatRelax(Mat mat,Vec b,double omega,MatSORType flag,double shift,int its,Vec x)Collective on Mat and Vec
mat | - the matrix |
b | - the right hand side |
omega | - the relaxation factor |
flag | - flag indicating the type of SOR (see below) |
shift | - diagonal shift |
its | - the number of iterations |
Application programmers will not generally use MatRelax() directly, but instead will employ the SLES/PC interface.
Most users should employ the simplified SLES interface for linear solvers instead of working directly with matrix algebra routines such as this. See, e.g., SLESCreate().
Level:developer
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents