The convergence rate of the conjugate gradient method is determined by the condition number of the matrix . The larger it is, the slower the method converges — many iterations are required to reach acceptable accuracy. The preconditioner is meant to improve this number by replacing the original system with an equivalent one with the matrix , whose eigenvalues should cluster in a narrow neighbourhood of one.
In practice there is no need to build explicitly: at every iteration it suffices to be able to solve the auxiliary problem
using instead of the original residual — see formulas (3.7)–(3.8). Let us consider three variants.
1. No preconditioning ( ). In this case , and the method coincides with the classical conjugate gradient method. This variant is useful for debugging, but for ill-conditioned systems it converges slowly.
2. Jacobi preconditioner. As we take the diagonal part of the matrix
Its application reduces to element-wise division
This preconditioner is practically free in memory and time, but it takes into account only the diagonal, ignoring the couplings between the variables.
3. Incomplete Cholesky factorization (IC). For a symmetric positive definite matrix an approximate factorization is built
where is a lower triangular matrix. Unlike the full Cholesky factorization, the fill-in elements in the positions of the original zeros are discarded — the nonzero structure of coincides with the structure of the lower triangle of . Once is built, applying the preconditioner consists of two triangular substitutions
In FEM problems the incomplete Cholesky factorization usually gives the best trade-off: it is more expensive than the diagonal preconditioner (building and two triangular sweeps per iteration), but it noticeably reduces the number of iterations. For nonsymmetric or indefinite systems, which fall outside standard heat conduction problems, one should turn to the GMRES or BiCGSTAB methods with appropriate preconditioners.
This concludes the solution of sparse systems — next, let us talk about partitioning the geometry into simplices.