MatSORType#
What type of (S)SOR to perform
Synopsis#
typedef enum {
SOR_FORWARD_SWEEP = 1,
SOR_BACKWARD_SWEEP = 2,
SOR_SYMMETRIC_SWEEP = 3,
SOR_LOCAL_FORWARD_SWEEP = 4,
SOR_LOCAL_BACKWARD_SWEEP = 8,
SOR_LOCAL_SYMMETRIC_SWEEP = 12,
SOR_ZERO_INITIAL_GUESS = 16,
SOR_EISENSTAT = 32,
SOR_APPLY_UPPER = 64,
SOR_APPLY_LOWER = 128
} MatSORType;
Values#
SOR_FORWARD_SWEEP
- do a sweep from the first row of the matrix to the lastSOR_BACKWARD_SWEEP
- do a sweep from the last row to the firstSOR_SYMMETRIC_SWEEP
- do a sweep from the first row to the last and then back to the firstSOR_LOCAL_FORWARD_SWEEP
- each MPI process does its own forward sweep with no communicationSOR_LOCAL_BACKWARD_SWEEP
- each MPI process does its own backward sweep with no communicationSOR_LOCAL_SYMMETRIC_SWEEP
- each MPI process does its own symmetric sweep with no communicationSOR_ZERO_INITIAL_GUESS
- indicates the initial solution is zero so the sweep can avoid unneeded computationSOR_EISENSTAT
- apply the Eisentat application of SOR, seePCEISENSTAT
SOR_APPLY_UPPER
- multiply by the upper triangular portion of the matrixSOR_APPLY_LOWER
- multiply by the lower triangular portion of the matrix
Note#
These may be bitwise ORd together
Developer Note#
Since MatSORType
may be bitwise ORd together, so do not change the numerical values below
See Also#
Level#
beginner
Location#
Examples#
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/pde_constrained/tutorials/hyperbolic.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages